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 supply FriendlyName to change its description. The friendly name can contain up to 64 characters.

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

2 parameters · 1 body field
AccountSidstringrequired
The account SID that created the outgoing caller ID resource. Must be 34 characters and match the `AC` SID format.
Sidstringrequired
The unique outgoing caller ID SID to update. Must be 34 characters and match the `PN` SID format.

Optional form-encoded fields for updating 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 object, including its SID, friendly name, phone number, account SID, 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

The AccountSid path parameter must be a 34-character account SID beginning with AC, and the Sid path parameter must be a 34-character outgoing caller ID SID beginning with PN. FriendlyName can contain up to 64 characters.