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.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^MG[0-9a-fA-F]{32}$.

  • 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 \
 --request DELETE 'https://messaging.twilio.com/v1/Services/{ServiceSid}/ShortCodes/{Sid}' \
 --user "username:password"