Delete phone number

DELETE /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}

A Messaging Service resource to add, fetch or remove phone numbers from a Messaging Service.

Path parameters

  • ServiceSid string Required

    The SID of the Service to delete the resource from.

  • Sid string Required

    The SID of the PhoneNumber resource to delete.

Responses

  • The resource was deleted successfully.

DELETE /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}
curl \
 -X DELETE https://messaging.twilio.com/v1/Services/{ServiceSid}/PhoneNumbers/{Sid} \
 --user "username:password"