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

Update a SIP credential list

Updates the name of an existing SIP credential list. Submit the replacement FriendlyName together with the Account and credential list identifiers.

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

2 parameters · 1 body field
AccountSidstringrequired
The unique identifier of the Account responsible for the credential list. Must be a 34-character identifier matching `^AC[0-9a-fA-F]{32}$`.
Sidstringrequired
The unique identifier of the credential list to update. Must be a 34-character identifier matching `^CL[0-9a-fA-F]{32}$`.

Form-encoded replacement details for the SIP credential list.

FriendlyNamestringrequired
A human readable descriptive text for a CredentialList, up to 64 characters long.

1 status code
200Returns the updated credential list, including its Account identifier, name, resource identifier, timestamps, associated-resource URI map, and resource URI.
account_sidstringoptional
The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource.
date_createdstringoptional
The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
date_updatedstringoptional
The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
friendly_namestringoptional
A human readable descriptive text that describes the CredentialList, up to 64 characters long.
sidstringoptional
A 34 character string that uniquely identifies this resource.
subresource_urisobjectoptional
A list of credentials associated with this credential list.
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`.

Error handling

AccountSid must be a 34-character identifier matching ^AC[0-9a-fA-F]{32}$, and Sid must match the 34-character CL identifier format. FriendlyName is required and must be a descriptive name of no more than 64 characters.