Skip to main content
DELETE
/
agency
/
twilio
/
remove-phone-number-from-messaging-service
Remove a phone number from a messaging service
curl --request DELETE \
  --url https://api.cleartalk.ai/agency/twilio/remove-phone-number-from-messaging-service \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "messagingServiceSid": "<string>",
  "phoneNumberSid": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "phone_number_sid": "<string>",
  "messaging_service_sid": "<string>"
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
messagingServiceSid
string
required
phoneNumberSid
string
required

Response

Phone number removed from messaging service successfully

success
boolean

Operation success status

message
string

Success message

phone_number_sid
string

Phone number SID

messaging_service_sid
string

Messaging service SID