palbaseDocs

Palbase Auth API · API

POST/auth/installations/{id}/unbind

Unbind the signed-in user from an installation

Closes the signed-in user's active binding on the installation (call it on sign-out). No active binding for this user answers 404. Takes no request body.

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

Path

idstring · requiredInstallation ID (`ins_…`).
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/installations/<id>/unbind" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200Binding closed

401Missing, invalid, or expired credentials

404Resource does not exist or is not visible to the caller

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

Operation UnbindInstallation of auth's contract.