Skip to content

Irreversibly initiate workplace deletion

POST/v1/access/deletion/confirm

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

curl -X POST "https://example.com/v1/access/deletion/confirm" \
  -H "Content-Type: application/json" \
  -d '{
    "receiptProof": "string",
    "challengeId": "007cfdcc-a46d-4340-a4c6-216ec2e4009c",
    "code": "string"
  }'
{
  "state": "deleting",
  "initiatedAt": "2019-08-24T14:15:22Z",
  "receiptExpiresAt": "2019-08-24T14:15:22Z"
}