API keys

Revoke an API key

Stop a key working, immediately.

DELETE/v1/api-keys/{id
}

Authentication

A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.

Path parameters

idstringrequired

The key's ID.

Response

204 No Content

An empty response.

Errors

StatusCodeWhat to do
401unauthenticatedLog in first, or log in again.
403csrf_failedSend the csrf_token as X-CSRF-Token.
404not_foundCheck the ID. It may belong to another workspace.