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

Update an outgoing caller ID

Updates the friendly name of an outgoing caller ID resource. Use AccountSid and Sid to identify the account and caller ID, and omit FriendlyName when you do not need to change the description.

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

2 parameters · 1 body field
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 update. Must be a 34-character SID matching the `PN` prefix format.

Form-encoded fields used to update the outgoing caller ID.

FriendlyNamestringoptional
A descriptive string that you create to describe the resource. It can be up to 64 characters long.

1 status code
200Returns the updated outgoing caller ID, including its SID, account SID, friendly name, phone number, creation and update timestamps, and resource URI.
sidstringoptional
The unique string that that we created to identify the OutgoingCallerId resource.
date_createdstringoptional
The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
date_updatedstringoptional
The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
friendly_namestringoptional
The string that you assigned to describe the resource.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource.
phone_numberstringoptional
The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.

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. FriendlyName can contain up to 64 characters when provided.