cURL
curl --request DELETE \ --url https://nextvisit.app/api/v1/auth/tokens/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Token revoked" }
Revokes a specific access token by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Identifier for a token
Token successfully revoked
Status message
"Token revoked"
Was this page helpful?