Sample - Twilio API
DELETE/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json

Delete an outgoing caller ID

Deletes a specified outgoing caller ID from an account. Use AccountSid and Sid to identify the account and caller ID resource to remove.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
AccountSidstringrequired
The account SID that created the outgoing caller ID resource. Must be a 34-character SID matching the `AC` prefix format.
Sidstringrequired
The outgoing caller ID resource SID to delete. Must be a 34-character SID matching the `PN` prefix format.

1 status code
204Confirms that the outgoing caller ID resource was deleted successfully.

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character outgoing caller ID SID beginning with PN. Both identifiers must identify the resource you intend to delete.