Delete phone number
Phone numbers associated with trunks
Path parameters
-
The SID of the Trunk from which to delete the PhoneNumber resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^TK[0-9a-fA-F]{32}$
. -
The unique string that we created to identify the PhoneNumber resource to delete.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^PN[0-9a-fA-F]{32}$
.
DELETE
/v1/Trunks/{TrunkSid}/PhoneNumbers/{Sid}
curl \
--request DELETE 'https://trunking.twilio.com/v1/Trunks/{TrunkSid}/PhoneNumbers/{Sid}' \
--user "username:password"