Skip to content
Sign in

Request deletion code

POST/v1/access/deletion/challenge

Request a purpose-bound owner deletion code.

Authorization

humanSession
__Secure-better-auth.session_token<token>

Native Better Auth session cookie, managed by the browser. Loopback HTTP uses the unprefixed cookie name.

In: cookie

Request body

application/json

Response body

application/json

application/json

application/json

curl -X POST 'https://api.agentworkplace.dev/v1/access/deletion/challenge' \
  -H 'Content-Type: application/json' \
  -d '{
  "receiptProof": "string"
}'
{
  "challengeId": "007cfdcc-a46d-4340-a4c6-216ec2e4009c",
  "expiresAt": "2019-08-24T14:15:22Z"
}