Delete byoc trunk

DELETE /v1/ByocTrunks/{Sid}

BYOC Trunks allow you to bring your own voice carrier to Twilio, enabling your calls to use our Programmable Voice APIs.

Path parameters

  • Sid string Required

    The Twilio-provided string that uniquely identifies the BYOC Trunk resource to delete.

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

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/ByocTrunks/{Sid}
curl \
 --request DELETE 'https://voice.twilio.com/v1/ByocTrunks/{Sid}' \
 --user "username:password"