API ReferenceAuthentication API

Logout user

Revokes the current access token and clears authentication cookies. After logout, the user must re-authenticate.

GET
/auth/logout
Authorization<token>

Type "Bearer" followed by a space and JWT token.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/auth/logout"
{}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "request_id": "string"
}