Updates the caller-id
An OutgoingCallerId resource represents a single verified number that may be used as a caller ID when making outgoing calls via the REST API and within the TwiML
Updates the caller-id
Path parameters
-
The SID of the Account that created the OutgoingCallerId resources to update.
-
The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to update.
Body
-
FriendlyName string
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
POST /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string'
Request example
{
"FriendlyName": "string"
}
Request examples
{
"FriendlyName": "string"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"phone_number": "string",
"sid": "string",
"uri": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"phone_number": "string",
"sid": "string",
"uri": "https://example.com"
}