Logout User
Delete refresh token seller from cookies and logout from oauth
Endpoint
Base URL
http://localhost:8080Method and Endpoint
DELETE /api/users/current/logoutHeaders
Authorization: Bearer access_tokenResponses
You will get responses like this:
200 (success)
Response Body
{
"message": "Ok"
}401 (unauthorized)
Response Body
{
"error": "Invalid authorization header"
}401 (unauthorized - expire token)
Response Body
{
"error": "token is expired: token is expired by 2m19s"
}500 (server error)
Response Body
{
"error": "Internal server error"
}