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. The master key cannot be deactivated or given an expiration, and only the master key can change its own name and description.

Permissions. Write on the API key.

Request​

Responses​

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