Skip to main content
DELETE
/
v1
/
auth
/
tokens
/
current
Revoke current token
curl --request DELETE \
  --url https://nextvisit.app/api/v1/auth/tokens/current \
  --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.

Response

Token successfully revoked

message
string

Status message

Example:

"Token revoked"