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

Update a SIP credential list

Updates the friendly name of a SIP credential list for the specified account. Supply FriendlyName in the request body; the schema requires this field and the documented description limits it to 64 characters. The response contains the updated list and its resource metadata.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters · 1 body field
AccountSidstringrequired
The 34-character account identifier, beginning with `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The 34-character credential list identifier, beginning with `CL` followed by 32 hexadecimal characters.

Updated details for the 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, `sid`, friendly name, creation and update dates, subresource URIs, and 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

The AccountSid path parameter must be a 34-character identifier beginning with AC followed by 32 hexadecimal characters, and the Sid path parameter must use the CL prefix. FriendlyName is required and can be up to 64 characters.