Update an API key
PATCH/api-keys/:api_key_id
Changes the name, description, active status or expiration time of an API key. Fields that the request omits keep their values, and null removes the description or the expiration time. Deactivation with "active": false takes effect on the next request that uses the key.
Permissions. Write on the API key.
Request
Responses
- 200
- 401
- 403
- 404
- 409
The API key was updated. The body is the updated key, without the secret.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
The license does not permit changes (Invalid license: ...).
No API key with this identifier exists, or the calling key lacks write permission on the API key (Api Key with id <id> not found).
Another API key has the same name (Conflict unique error).