Skip to content
Sign in

Delete workplace

POST/v1/access/deletion/confirm

Irreversibly initiate workplace deletion.

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/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"
}