SignOut User
Delete refresh token user on database and cookies
Endpoint
Base URL
http://localhost:5000
Method and Endpoint
DELETE /api/auth/signout
Headers
Authorization: Bearer access_token
Responses
You will get responses like this:
200 (success)
Response Body
{
"message": "Loged Out Successfully!"
}
401 (Unauthorized)
Response Body
{
"message": "Unauthorized"
}
500 (server error)
Response Body
{
"message": "Internal server error"
}