POST/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json

Update a signing key

Updates the friendly name of a signing key. Supply FriendlyName to change the name; omit it if you do not want to update that field.

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

2 parameters · 1 body field
AccountSidstringrequired
The 34-character account SID, beginning with `AC` and followed by 32 hexadecimal characters, that owns the signing key.
Sidstringrequired
The 34-character signing key SID, beginning with `SK` and followed by 32 hexadecimal characters.

Optional signing key fields to update.

FriendlyNamestringoptional
The new friendly name for the signing key.

1 status code
200Returns the updated signing key resource, including its SID, friendly name, and creation and update dates.
sidstringoptional
friendly_namestringoptional
date_createdstringoptional
date_updatedstringoptional

Error handling

The AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character signing key SID beginning with SK; each must end with 32 hexadecimal characters.