Headers
-
The domain of the user
POST /auth/logout
curl \
-X POST https://domain.tld/api/v2/auth/logout \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "X-Popsell-Domain: example.com"
Response examples (200)
{
"message": "Successfully logged out"
}
Response examples (401)
{
"message": "Unauthorized."
}