tw.messaging_services.phone.delete: Twilio Spoke API: Delete Phone from Messaging Service

View source: R/tw.messaging_services.R

tw.messaging_services.phone.deleteR Documentation

Twilio Spoke API: Delete Phone from Messaging Service

Description

Twilio Spoke API: Delete Phone from Messaging Service

Usage

tw.messaging_services.phone.delete(
  sid = Sys.getenv('TWILIO_ACCOUNT_SID'),
  key = Sys.getenv('TWILIO_KEY'),
  secret = Sys.getenv('TWILIO_SECRET'),
  service_sid = NA,
  phone_sid = NA,
  verbose = FALSE
)

Arguments

sid

twilio credentials: Account SID.

key

twilio credentials: Account user key.

secret

twilio credentials: User secret. Don't store this in scripts!!!

service_sid

twilio SID of messaging service to delete from

phone_sid

twilio SID of phone to delete. Note that this does NOT remove the phone from your account, just from the message service.

verbose

Print detailed progress.

Returns

?

Details

?

Examples


## Not run: 
source("C:/Users/lwolberg/Desktop/.ssh/twilio_auth.R")

m <- tw.messaging_services.create(sid, token, friendly_name = 'quite friendly!')
tw.messaging_services.delete(sid, token, m$sid)

## End(Not run)

workingamerica/twilio documentation built on Jan. 30, 2024, 4:55 p.m.