Skip to main content
DELETE
Delete an API key
Needs api_keys:delete, and you must own a workspace. See Permissions.
{id} is the key’s id from the key list. Whatever uses the key stops working at once, and it can’t be undone: make a new key in the app to replace it. A key can delete itself. The answer then says API key deleted. It was the key this request used, so it no longer works., and from then on the key gets 401.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The key's id: id in the key list.

Example:

118

Response

The key is deleted.

An error answer. Every one has message, in plain words; some add an error code and fields of their own.

message
string
required

What went wrong and what to do about it.

error
string

A code a few errors add, such as rate_limited. See Handle errors.