palbaseDocs

Palbase Auth API · API

DELETE/auth/trusted-devices/{id}

Revoke a trusted device

Revoke a trusted device by ID. The device will be prompted for MFA on its next login.

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

Path

idstring · requiredTrusted device row ID (`td_…`)
curl
curl -X DELETE "https://<your-ref>.palbase.studio/auth/trusted-devices/<id>" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200Device revoked

400Validation failed or required field missing

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 RevokeTrustedDevice of auth's contract.