Docs

Revoke API Key

Revoke an API key so it stops working immediately. Revoking a key that is already revoked changes nothing.

DEL

Path

Path parameters
stringrequired

The key's id, from List API Keys.

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

idstring

The id of the resource that was deleted.