palbaseDocs

Palbase Auth API · API

DELETE/auth/devices/{id}

Delete a device

Deletes one of the signed-in user's devices. Its key can no longer sign requests or approve transactions.

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

Path

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

Responses

200Device deleted

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