Praecise account/ Reference/ Service tokens

Revoke a service token

delete/api/tokens/{id}

Revoking a token that is already revoked is not an error.

Before you call

Credential
Authorization: Bearer $KEY

Parameters

  • idstring (uuid)required
    In the path

Responses

  • 204
    Revoked.
  • 401application/json
    Nobody is signed in.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 403application/json
    A service token was presented. Tokens are managed by a signed-in person, not by another token.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 404application/json
    No such token on this account.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring

This page as Markdown