Update an API key
API Keys
Update an API key
Update an API key’s name.
PATCH
Update an API key
Documentation Index
Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-docs-chrome-policy-on-demand.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
API key ID
Body
application/json
New API key name
Required string length:
1 - 255Example:
"new-api-name"
Response
API key updated
Unique API key identifier
Example:
"ckv9w8q2f000001l5r3j7k9m4"
API key name
Example:
"production"
When the API key was created
When the API key expires
Project identifier for project-scoped API keys. Null means org-wide.
Example:
"proj_abc123"
Project name for project-scoped API keys. Null means the key is org-wide or the project name is unavailable.
Example:
"Production"
Masked version of the API key
Example:
"sk_1234...abcd"