Update an API key
PATCH/v1/api-keys/:api_key_id
Rename an API key or replace its capability set; the change holds from the key's next call. The scope (project vs account) is immutable. A narrowed caller may set only a non-empty subset of its own set (403).
Request
Responses
- 200
- 400
- 401
- 403
- 404
API key updated.
The request was malformed or failed validation.
Missing or invalid credentials.
Authenticated, but not permitted to act on this key, or outside a narrowed key's capabilities.
The resource does not exist (existence is not leaked).