Delete short code

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

A Messaging Service resource to add, fetch or remove short code 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 ShortCode resource to delete.

Responses

  • 204

    The resource was deleted successfully.

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