Patch api keys
Authorizations
JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer
Path Parameters
Unique identifier of the API key to update
^[0-9A-HJKMNP-TV-Z]{26}$Body
Request body for updating an existing API key
Updated human-readable label
1 - 100Updated permission scopes
1A single permission scope, or the wildcard '*' for full access
*, email:read, email:send, phone:read, phone:sms, phone:voice, phone:provision, messages:read, messages:send, messages:search, voice:read, vault:read, vault:write, vault:share, vault:oauth, identity:read, identity:write, agents:read, agents:write, inbox:read, inbox:write, domains:read, domains:write, addresses:read, addresses:write, pods:read, pods:write, webhooks:read, webhooks:write, billing:read, audit:read Updated expiration timestamp, or null to remove expiration
Response
OK
API key resource without the secret value
Unique identifier for the API key
^[0-9A-HJKMNP-TV-Z]{26}$Organization that owns this API key
^[0-9A-HJKMNP-TV-Z]{26}$Agent this key is restricted to, null if unrestricted
^[0-9A-HJKMNP-TV-Z]{26}$Human-readable label for the API key
Non-secret prefix of the key for identification
Environment mode of the key
LIVE, TEST Permission scopes granted to this key
Whether the key has been revoked
ISO 8601 timestamp when the key was created
ISO 8601 timestamp when the key was last used, null if never used
ISO 8601 timestamp when the key expires, null if no expiration
User ID of the key creator, null if created by system
Extension-token settings surfaced from metadata. Present only for extension:bridge keys.
