Skip to main content
DELETE
/
auth
/
access_token
/
{token_id}
Delete access token
curl -X DELETE http://localhost:50052/auth/access_token/12 \
  -H "Accept: application/json" \
  -H 'Authorization: Bearer <admin-jwt-or-access-token>'
{
  "status": "success",
  "message": "Access token deleted successfully"
}

Authorizations

Authorization
string
header
required

Admin JWT obtained from the login endpoint.

Headers

Authorization
string
required

Admin JWT or admin access token. Format Bearer <admin-jwt-or-access-token>.

Path Parameters

token_id
integer
required

The unique identifier of the access token to delete.

Response

Token deleted successfully.

status
string

Operation result status.

message
string

Human-readable status message.