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

Update a signing key

Updates the friendly name of an existing signing key. Send the new FriendlyName as form-encoded data while identifying the account and signing key with their SIDs.

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

2 parameters · 1 body field
AccountSidstringrequired
The account SID associated with the signing key. Must be a 34-character SID beginning with `AC`.
Sidstringrequired
The unique signing key SID to update. Must be a 34-character SID beginning with `SK`.

Form-encoded signing key settings to update.

FriendlyNamestringoptional
The descriptive name to assign to the signing key.

1 status code
200Returns the updated signing key object with its SID, friendly name, creation timestamp, and last update timestamp.
sidstringoptional
friendly_namestringoptional
date_createdstringoptional
date_updatedstringoptional

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character signing key SID beginning with SK. Use a FriendlyName value that describes the signing key you want to maintain.