Revoke

Revoke Token

post

Revokes an existing bearer token. The request must include valid credentials in the body and a valid Bearer token in the header.

Authorizations
Body
emailstringRequiredExample: test@example.com
passwordstringRequiredExample: password
Responses
200
Token revoked successfully
post
POST /auth/revoke HTTP/1.1
Host: 127.0.0.1:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "email": "test@example.com",
  "password": "password"
}

No content