Sample - Twilio API
DELETE/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json

Delete a SIP credential

Deletes a SIP credential from a specified credential list. Identify the Account, credential list, and credential with the path parameters before removing the resource.

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

3 parameters
AccountSidstringrequired
The unique identifier of the Account responsible for the credential. Must be a 34-character identifier matching `^AC[0-9a-fA-F]{32}$`.
CredentialListSidstringrequired
The unique identifier of the credential list containing the credential. Must be a 34-character identifier matching `^CL[0-9a-fA-F]{32}$`.
Sidstringrequired
The unique identifier of the credential to delete. Must be a 34-character identifier matching `^CR[0-9a-fA-F]{32}$`.

1 status code
204Confirms that the SIP credential was deleted successfully and returns no response body.

Error handling

AccountSid must be a 34-character identifier matching the AC format, CredentialListSid must match the CL format, and Sid must match the CR format. Each identifier must identify the resource specified by its position in the path.