Logout
It will revoke the token of logged in user and logged out that user.
This endpoint allows you to logout the user.
GET https://castleindia.in/emart/public /api/logout /api/logout
Headers
Name
Type
Description
Accept
String
application/json
Authentication
String
Bearer {Your bearer token will goes here without brackets }
{
"message": "You have been successfully logged out!"
}{
"message": "Unauthenticated."
}Last updated
Was this helpful?