Log user out by revoking his auth tokens.

GET /auth/logout

Once logged out, current user cannot access the API anymore.

Responses

  • 200

    Logout successful

  • 500

    Access token not found

GET /auth/logout
curl \
 -X GET http://localhost:8080/api/auth/logout \
 -H "Authorization: $API_KEY"