Update API Key
API Keys
Update API Key
Update an API key’s name and/or groups. Works for both active and revoked keys.
PUT
Update API Key
Path Parameters
Name or UUID of the API key
Body
application/json
The request body resource
Response
OK
Creation timestamp
Subject of the admin who created this key
Revocation timestamp
Subject of the admin who revoked this key
Groups assigned to this API key
Example:
["engineering"]Unique identifier
Timestamp of last usage
Masked version of the API key for identification
Example:
"hpk_1nzb***************************************"
Human-readable name
Example:
"ai-agent"
Organization ID
Current status of the API key
Available options:
active, revoked