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