Skip to main content

Update an API key

PUT 

/api-keys/:id

Replaces the name, permissions and expires_at of an existing API key. All three are written on every call: name and permissions are required, and omitting expires_at removes the expiry. Regular users may only update their own keys and only grant permissions they have (see POST /api-keys). Administrators may update any key.

Request​

Responses​

API key updated successfully.