Skip to main content
POST
/
v1
/
auth
/
orgs
/
confirm-delete
Confirm a previously requested organization deletion using the 8-character code emailed to the requester. Schedules hard delete 48 hours out.
curl --request POST \
  --url http://127.0.0.1:8787/v1/auth/orgs/confirm-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>"
}
'
{
  "data": {
    "pendingDeletionAt": "<string>"
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
organizationId
string<uuid>
required
code
string
required

Response

Deletion scheduled.

data
object
required
error
null
required