AccountsPublic Key
Update Credential Public Key
Modify the properties of a given Account
Authorization
accountSid_authToken AuthorizationBasic <token>
In: header
Path Parameters
Sid*string
The Twilio-provided string that uniquely identifies the PublicKey resource to update.
Match
^CR[0-9a-fA-F]{32}$Length
34 <= length <= 34Request Body
application/x-www-form-urlencoded
FriendlyName?string
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
Response Body
application/json
curl -X POST "https://example.com/v1/Credentials/PublicKeys/stringstringstringstringstringstri" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'FriendlyName=friendly_name&PublicKey=public_key'{ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "date_created": "2015-07-31T04:00:00Z", "date_updated": "2015-07-31T04:00:00Z", "friendly_name": "friendly_name", "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}