Account
Update API key
Renames a company-scoped API key and/or replaces its permissions in place. The caller must have the api_keys:manage permission. The key value is unchanged. Added permissions apply on the next retry; removed permissions may remain usable for up to five minutes while API caches expire. preset and scopes replace the whole selection rather than merging into it. The response contains non-secret metadata only.
patch/api-keys/{apiKeyId}
Path parameters
apiKeyIdstring required
Exact API key ID returned by the list API keys endpoint.
Request body
Response
API key updated
Example response
{
"success": true,
"message": "API key permissions updated. Added permissions apply on the next retry; removed permissions may take up to five minutes to expire across API instances."
}