Skip to content
Website API / Access tokens

Revoke an access token

DELETEhttps://<your Reveata origin>/api/v1/access-tokens/{tokenId}

The token stops working at once (it can be the token making the call).

Related: List access tokens and Create an access token in Access tokens.

Try in playground

Request

Path parameters

tokenIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer followed by an account token or an OAuth access token with the tokens:write scope.

Response

Revoked.

{
  "status": "string",
  "data": {
    "revoked": "string"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.revokedtrue