Delete a phone-numbers belonging to the account used to make the request.
Incoming phone numbers on a Twilio account/project
Delete a phone-numbers belonging to the account used to make the request.
Path parameters
-
The SID of the Account that created the IncomingPhoneNumber resources to delete.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to delete.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^PN[0-9a-fA-F]{32}$
.
DELETE
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json
curl \
--request DELETE 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json' \
--user "username:password"