SignOut User
Delete refresh token user on database and cookies
Endpoint
Base URL
http://localhost:5000Method and Endpoint
DELETE /api/auth/signoutHeaders
Authorization: Bearer access_tokenResponses
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"
}