Update API Key
PATCH/v1/api-keys/:key_id
Update an API key's name, scopes, rate limit tier, or IP allowlist.
The key value itself cannot be changed — use /rotate to get a new key.
A scoped API key cannot grant scopes or a rate-limit tier beyond its own (privilege-escalation guard, same as create).
Request
Responses
- 200
- 404
- 422
Successful Response
API key not found.
Validation Error