Palbase Auth API · API
POST
/auth/logoutSign out current session
Revoke the current session (sign out this device only). The call is idempotent — already-revoked sessions still return success.
Called by a signed-in user of your app, with their token and the publishable key.
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/logout" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200Logged out
401Missing, invalid, or expired credentials
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation Logout of auth's contract.