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": "<string>",
  "code": "<string>"
}
'
{
  "data": {
    "pendingDeletionAt": "<string>"
  },
  "error": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.kayle.id/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
organizationId
string
required
Minimum string length: 1
code
string
required
Minimum string length: 1

Response

Deletion scheduled.

data
object
required
error
object
required