Update a Credential List
Lists of SIP credentials
Update a Credential List
Path parameters
-
The unique id of the Account that is responsible for this resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The credential list Sid that uniquely identifies this resource
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CL[0-9a-fA-F]{32}$
.
POST
/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'FriendlyName=friendly_name'
Request example
{"FriendlyName"=>"friendly_name"}
Response examples (200)
{
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SIP/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "Wed, 11 Sep 2013 17:51:38 +0000",
"date_updated": "Wed, 11 Sep 2013 17:51:38 +0000",
"friendly_name": "Low Rises",
"subresource_uris": {
"credentials": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SIP/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Credentials.json"
}
}