Logout

POST /api/auth/logout

The endpoint for logging out a user

Args: token (oauth2 bearer token): the token for the user

Returns: (dict) The message for logging out

Responses

  • 200

    Successful Response

  • 404

    The requested page was not found

POST /api/auth/logout
curl \
 -X POST http://api.example.com/api/auth/logout \
 -H "Authorization: Bearer $ACCESS_TOKEN"