palbaseDocs

Palbase Auth API · API

POST/auth/recovery/deny

Deny a recovery

A trusted contact refuses the account owner's recovery with the token their email carries. One refusal ends the request: a contact who says this is not the owner is believed.

Called by your app, with the publishable key.

Request body

tokenstring · required
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/recovery/deny" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "content-type: application/json" \
  -d '{"token":"string"}'

Responses

200Approval accepted

400Validation failed or required field missing

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

409Conflict with current resource state (duplicate, race)

429Rate limit exceeded

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

Operation DenyRecovery of auth's contract.