Skip to main content

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​

The API key was updated. The body is the updated key, without the secret.