Skip to main content
DELETE
/
v1
/
auth
/
tokens
/
{id}
Revoke specific token
curl --request DELETE \
  --url https://nextvisit.app/api/v1/auth/tokens/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Token revoked"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer<int64>
required

Identifier for a token

Response

Token successfully revoked

message
string

Status message

Example:

"Token revoked"