palbaseDocs

Palbase Auth API · API

DELETE/auth/sessions

Revoke every session

Revoke every session belonging to the authenticated user — force sign-out everywhere.

Called by a signed-in user of your app, with their token and the publishable key.

curl
curl -X DELETE "https://<your-ref>.palbase.studio/auth/sessions" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200All sessions revoked

401Missing, invalid, or expired credentials

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation RevokeAllSessions of auth's contract.