Data rights
17 operations in the WP Waterfall API.
- deleteDelete the company after a 30 day grace period
- getThe newest export of the company data
- postRequest an export of the company data
- postGet a short lived download link for the company export
- postConfirm erasing the business now
- postAsk to erase the business now and email a confirmation link
- postSee what erasing the business now does
- getCompanies you own that are waiting to be deleted
- postUndo the deletion of a company you own
- getThe newest export of your own data
- postRequest an export of your own data
- postGet a short lived download link for your own export
- postConfirm deleting your account
- getWhere you are on deleting your account
- postAsk to delete your account and email a confirmation link
- deleteCancel the confirmation link
- postSee what deleting your account removes
Delete the company after a 30 day grace period
delete/companyPermalink to Delete the company after a 30 day grace period
- Dashboard session only, no API key
Owner only, for a business, with a sign-in from the last 10 minutes and the company name typed in confirm. While a plan is live the call answers 409 unless cancel_plan=true agrees to end it (at the end of the paid period, or now inside the 30 day money-back window). An unpaid invoice answers 409 until it is paid. After the grace period the company is erased in a fixed order and only invoices and payment records stay, with the personal data removed. The owner can undo it until then.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
confirm required | query | string | |
cancel_plan | query | string | One of: true, false. |
Responses
| Status | Body | Description |
|---|---|---|
202 | CompanyDeletion | Deletion scheduled |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Only the owner can delete the company |
409 | Problem | A live plan or an unpaid invoice stops the deletion |
422 | Problem | The typed name does not match |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
202 response fields
| Name | Type | Description |
|---|---|---|
company_id required | string (uuid) | UUIDv7 |
state required | string | One of: scheduled, purging, purged, cancelled. |
requested_at required | string (date-time) | |
purge_after required | string (date-time) | The day the erase starts, unless the owner undoes the deletion first. |
requested_by required | string or null | |
can_undo required | boolean | True while the owner can still undo it. |
closed required | boolean | True when the company is already closed to its members (the older Close company path). |
plan_note required | string or null | One sentence about the plan, for the owner. Null when there was no plan. |
deletes_account required | boolean | True when this is the erase of a personal workspace that ends the owner's account. |
The newest export of the company data
get/company/data-exportPermalink to The newest export of the company data
- Dashboard session only, no API key
Status of the newest request and when the next one is allowed. It never holds a link: ask for one with the download-link call.
Responses
| Status | Body | Description |
|---|---|---|
200 | DataExportState | Export state |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
latest required | one of DataExport, null | The newest request, or null when there never was one. |
next_request_at required | string or null (date-time) | When the next request is allowed. Null when one can start now. |
Request an export of the company data
post/company/data-exportPermalink to Request an export of the company data
- Dashboard session only, no API key
Starts a job that builds one archive of the company data: JSON files and a README that explains each file. It holds no passwords, hashes, API key values, deploy keys, private keys, or card data. Only the company owner can ask, with a sign-in from the last 10 minutes (403 step-up-required otherwise). One request is allowed a day: a second one answers 429 with Retry-After. The archive stays 48 hours.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, DataExportRequest
Responses
| Status | Body | Description |
|---|---|---|
202 | DataExport | Accepted |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed, or a recent sign-in is needed |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | One export a day |
202 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | UUIDv7 |
scope required | string | One of: company, user. |
status required | string | One of: queued, building, ready, failed, expired. |
requested_at required | string (date-time) | |
ready_at required | string or null (date-time) | |
expires_at required | string or null (date-time) | When the archive is removed. Null until it is ready. |
size_bytes required | integer or null | Range: 0 to any. |
file_count required | integer or null | Range: 0 to any. |
job_id required | string or null (uuid) | UUIDv7 |
error required | string or null | One plain sentence when the export failed. |
download_available required | boolean | True while the archive is ready and has not expired. |
Get a short lived download link for the company export
post/company/data-export/{id}/download-linkPermalink to Get a short lived download link for the company export
- Dashboard session only, no API key
Signs a link that works for 15 minutes and writes an audit entry. The export must be ready and not expired.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the data export. |
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Responses
| Status | Body | Description |
|---|---|---|
200 | DataExportLink | A signed link |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed, or a recent sign-in is needed |
404 | Problem | No such export |
409 | Problem | The export is not ready |
410 | Problem | The export expired |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
503 | Problem | Downloads are not available on this server |
200 response fields
| Name | Type | Description |
|---|---|---|
url required | string (uri) | |
expires_at required | string (date-time) | |
filename required | string |
Confirm erasing the business now
post/company/deletion-confirmPermalink to Confirm erasing the business now
- Dashboard session only, no API key
The owner named in the email sends the token, with a sign-in from the last 10 minutes, and the link works once. Every subscription and recurring charge of the business ends now with no proration and no refund, even a prepaid term, and no account credit is paid back. Standby Failover stops and its standby is released. Every member is emailed once. The 30 day wait starts today, and the owner can undo the deletion until it ends; an undo does not bring back a plan that ended. Session only: no API key and no MCP tool.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, AccountDeletionLinkBody
Fields
| Name | Type | Description |
|---|---|---|
token required | string | The single use secret from the link in the confirmation email. |
Responses
| Status | Body | Description |
|---|---|---|
202 | CompanyDeletion | Deletion scheduled |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Only the business owner, with a recent sign-in |
404 | Problem | The link is not for this person, or it is not valid |
409 | Problem | Something must be settled first, or a deletion already waits |
410 | Problem | The link expired or was used |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
202 response fields
| Name | Type | Description |
|---|---|---|
company_id required | string (uuid) | UUIDv7 |
state required | string | One of: scheduled, purging, purged, cancelled. |
requested_at required | string (date-time) | |
purge_after required | string (date-time) | The day the erase starts, unless the owner undoes the deletion first. |
requested_by required | string or null | |
can_undo required | boolean | True while the owner can still undo it. |
closed required | boolean | True when the company is already closed to its members (the older Close company path). |
plan_note required | string or null | One sentence about the plan, for the owner. Null when there was no plan. |
deletes_account required | boolean | True when this is the erase of a personal workspace that ends the owner's account. |
Ask to erase the business now and email a confirmation link
post/company/deletion-requestPermalink to Ask to erase the business now and email a confirmation link
- Dashboard session only, no API key
Erase now (ADR 320). Owner only, for a business, with a sign-in from the last 10 minutes and the business name typed in confirm, as Delete business asks. Sends one single use link to the owner's address, valid for 60 minutes. Nothing changes on the business until the link is confirmed. The same limits as the account link apply: 60 seconds between emails and 5 an hour (429). Answers 409 with a plain sentence while an invoice is unpaid, a dedicated server remains (a yearly or 3 year one cannot end early), or a site runs on its standby. Session only: no API key and no MCP tool.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, CompanyEraseRequestBody
Fields
| Name | Type | Description |
|---|---|---|
confirm required | string | The business name, typed exactly as it appears, to confirm erasing it now. |
Responses
| Status | Body | Description |
|---|---|---|
200 | AccountDeletionRequest | The email was sent |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Only the business owner, with a recent sign-in |
409 | Problem | Something must be settled first, or a deletion already waits |
422 | Problem | The typed name does not match |
429 | Problem | Too many emails, or one was sent less than a minute ago |
503 | Problem | The email could not be sent |
200 response fields
| Name | Type | Description |
|---|---|---|
email required | string | The address the email went to. |
expires_at required | string (date-time) | |
next_resend_at required | string (date-time) | The earliest time the email can be sent again. |
See what erasing the business now does
post/company/deletion-request/previewPermalink to See what erasing the business now does
- Dashboard session only, no API key
The owner named in the email sends the token. Changes nothing. Answers the business, what it holds, and the day the erase starts.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, AccountDeletionLinkBody
Fields
| Name | Type | Description |
|---|---|---|
token required | string | The single use secret from the link in the confirmation email. |
Responses
| Status | Body | Description |
|---|---|---|
200 | CompanyErasePreview | What goes |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The link is not for this person, or it is not valid |
409 | Problem | Something must be settled first |
410 | Problem | The link expired or was used |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
company_id required | string (uuid) | The business the link erases. |
company_name required | string | The name of the business the link erases. |
email required | string | The owner's address the link was sent to. |
link_expires_at required | string (date-time) | When the link stops working. |
sites required | integer | Sites of the business, each with its staging copies and backups. Range: 0 to any. |
members required | integer | Members other than the owner. Each one is emailed and loses access when the erase runs. Range: 0 to any. |
plans required | integer | Subscriptions that are not over. Each one ends today with no refund. Range: 0 to any. |
purge_after required | string (date-time) | When the erase starts: the 30 day wait counted from today. The owner can undo it until then. |
grace_days required | integer | The days of the wait before the erase. |
Companies you own that are waiting to be deleted
get/users/me/company-deletionsPermalink to Companies you own that are waiting to be deleted
- Dashboard session only, no API key
Works from any workspace, so an owner can find a company that is already closed.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | How many rows to return in one page: at most 200, and 200 when left out. Default: 200. Range: 1 to 200. |
cursor | query | string | The next_cursor of the page before. Leave it out for the first page. |
Responses
| Status | Body | Description |
|---|---|---|
200 | PendingCompanyDeletionList | Pending deletions |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
data required | array of object | |
data[].company_id required | string (uuid) | UUIDv7 |
data[].state required | string | One of: scheduled, purging, purged, cancelled. |
data[].requested_at required | string (date-time) | |
data[].purge_after required | string (date-time) | The day the erase starts, unless the owner undoes the deletion first. |
data[].requested_by required | string or null | |
data[].can_undo required | boolean | True while the owner can still undo it. |
data[].closed required | boolean | True when the company is already closed to its members (the older Close company path). |
data[].plan_note required | string or null | One sentence about the plan, for the owner. Null when there was no plan. |
data[].deletes_account required | boolean | True when this is the erase of a personal workspace that ends the owner's account. |
data[].company_name required | string | |
next_cursor | string or null |
Undo the deletion of a company you own
post/users/me/company-deletions/{company_id}/undoPermalink to Undo the deletion of a company you own
- Dashboard session only, no API key
Only before the erase starts. A plan that was set to end stays set to end until you keep it on the Plan page.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
company_id required | path | string | The id of the company whose deletion to undo. |
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Responses
| Status | Body | Description |
|---|---|---|
200 | CompanyDeletion | Deletion cancelled |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | No pending deletion for that company |
409 | Problem | The erase already started |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
company_id required | string (uuid) | UUIDv7 |
state required | string | One of: scheduled, purging, purged, cancelled. |
requested_at required | string (date-time) | |
purge_after required | string (date-time) | The day the erase starts, unless the owner undoes the deletion first. |
requested_by required | string or null | |
can_undo required | boolean | True while the owner can still undo it. |
closed required | boolean | True when the company is already closed to its members (the older Close company path). |
plan_note required | string or null | One sentence about the plan, for the owner. Null when there was no plan. |
deletes_account required | boolean | True when this is the erase of a personal workspace that ends the owner's account. |
The newest export of your own data
get/users/me/data-exportPermalink to The newest export of your own data
- Dashboard session only, no API key
Status of the newest request and when the next one is allowed. It never holds a link: ask for one with the download-link call.
Responses
| Status | Body | Description |
|---|---|---|
200 | DataExportState | Export state |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
latest required | one of DataExport, null | The newest request, or null when there never was one. |
next_request_at required | string or null (date-time) | When the next request is allowed. Null when one can start now. |
Request an export of your own data
post/users/me/data-exportPermalink to Request an export of your own data
- Dashboard session only, no API key
Starts a job that builds one archive of your own data: JSON files and a README that explains each file. It holds no passwords, hashes, API key values, deploy keys, private keys, or card data. Only the signed in person can ask, with a sign-in from the last 10 minutes (403 step-up-required otherwise). One request is allowed a day: a second one answers 429 with Retry-After. The archive stays 48 hours.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, DataExportRequest
Responses
| Status | Body | Description |
|---|---|---|
202 | DataExport | Accepted |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed, or a recent sign-in is needed |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | One export a day |
202 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | UUIDv7 |
scope required | string | One of: company, user. |
status required | string | One of: queued, building, ready, failed, expired. |
requested_at required | string (date-time) | |
ready_at required | string or null (date-time) | |
expires_at required | string or null (date-time) | When the archive is removed. Null until it is ready. |
size_bytes required | integer or null | Range: 0 to any. |
file_count required | integer or null | Range: 0 to any. |
job_id required | string or null (uuid) | UUIDv7 |
error required | string or null | One plain sentence when the export failed. |
download_available required | boolean | True while the archive is ready and has not expired. |
Get a short lived download link for your own export
post/users/me/data-export/{id}/download-linkPermalink to Get a short lived download link for your own export
- Dashboard session only, no API key
Signs a link that works for 15 minutes and writes an audit entry. The export must be ready and not expired.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the data export. |
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Responses
| Status | Body | Description |
|---|---|---|
200 | DataExportLink | A signed link |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | Not allowed, or a recent sign-in is needed |
404 | Problem | No such export |
409 | Problem | The export is not ready |
410 | Problem | The export expired |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
503 | Problem | Downloads are not available on this server |
200 response fields
| Name | Type | Description |
|---|---|---|
url required | string (uri) | |
expires_at required | string (date-time) | |
filename required | string |
Confirm deleting your account
post/users/me/deletion-confirmPermalink to Confirm deleting your account
- Dashboard session only, no API key
The signed in person named in the email sends the token, and the link works once. By default subscriptions end at the end of the term already paid with no refund, and the 30 day wait starts then. With erase_now (ADR 320) every subscription ends now with no refund for the time left, even a prepaid term, and the 30 day wait starts today; erase_now also needs a sign in from the last 10 minutes. Either way the personal workspace is scheduled for the erase of ADR 111 and can be undone until the wait ends; an undo does not bring back a plan that ended. You leave your businesses at once. The record of your account is erased at the end of that job. A person with no personal workspace is erased now. Session only: no API key and no MCP tool.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, AccountDeletionConfirm
Fields
| Name | Type | Description |
|---|---|---|
token required | string | The single use secret from the link in the confirmation email. |
erase_now required | boolean | False (the default): subscriptions run to the end of the term already paid, and the 30 day wait starts then. True: erase now. Every subscription ends now with no refund for the time left, even a prepaid annual or 3 year term, and the 30 day wait starts today. Needs a sign in from the last 10 minutes. Default: false. |
Responses
| Status | Body | Description |
|---|---|---|
202 | AccountDeletionResult | Scheduled, or erased |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | A staff account cannot be deleted |
404 | Problem | The link is not for this account, or it is not valid |
409 | Problem | Something must be settled first |
410 | Problem | The link expired or was used |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
202 response fields
| Name | Type | Description |
|---|---|---|
status required | string | scheduled: the workspace waits for the erase and can be undone. erased: nothing was left. One of: scheduled, erased. |
purge_after required | string or null (date-time) | |
company_id required | string or null |
Where you are on deleting your account
get/users/me/deletion-requestPermalink to Where you are on deleting your account
- Dashboard session only, no API key
Says whether a confirmation link was sent and still works, and whether the erase of your personal workspace is scheduled and can be undone.
Responses
| Status | Body | Description |
|---|---|---|
200 | AccountDeletionStatus | Status |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
request required | one of AccountDeletionRequest, null | A link was sent and still works, or null. |
scheduled required | object or null | The erase of the personal workspace is scheduled and can be undone, or null. |
scheduled.company_id required | string (uuid) | UUIDv7 |
scheduled.state required | string | One of: scheduled, purging, purged, cancelled. |
scheduled.requested_at required | string (date-time) | |
scheduled.purge_after required | string (date-time) | The day the erase starts, unless the owner undoes the deletion first. |
scheduled.requested_by required | string or null | |
scheduled.can_undo required | boolean | True while the owner can still undo it. |
scheduled.closed required | boolean | True when the company is already closed to its members (the older Close company path). |
scheduled.plan_note required | string or null | One sentence about the plan, for the owner. Null when there was no plan. |
scheduled.deletes_account required | boolean | True when this is the erase of a personal workspace that ends the owner's account. |
scheduled.company_name required | string |
Ask to delete your account and email a confirmation link
post/users/me/deletion-requestPermalink to Ask to delete your account and email a confirmation link
- Dashboard session only, no API key
Needs a sign-in from the last 10 minutes and your account address typed in email. Sends one single use link to that address, valid for 60 minutes, and retires an older link. Nothing changes on the account until the link is confirmed. The same call sends the link again: it waits 60 seconds after the last email and allows 5 emails an hour (429 with Retry-After). A staff account cannot be deleted (403). Session only: no API key and no MCP tool.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, AccountDeletionRequestBody
Fields
| Name | Type | Description |
|---|---|---|
email required | string |
Responses
| Status | Body | Description |
|---|---|---|
200 | AccountDeletionRequest | The email was sent |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | A staff account, or a recent sign-in is needed |
409 | Problem | Something must be settled first: the only Owner of a business, an unpaid invoice, or a dedicated server |
422 | Problem | The typed address does not match the account |
429 | Problem | Too many emails, or one was sent less than a minute ago |
503 | Problem | The email could not be sent |
200 response fields
| Name | Type | Description |
|---|---|---|
email required | string | The address the email went to. |
expires_at required | string (date-time) | |
next_resend_at required | string (date-time) | The earliest time the email can be sent again. |
Cancel the confirmation link
delete/users/me/deletion-requestPermalink to Cancel the confirmation link
- Dashboard session only, no API key
Retires the link that was sent. Nothing had changed on the account.
Responses
| Status | Body | Description |
|---|---|---|
204 | Cancelled | |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
See what deleting your account removes
post/users/me/deletion-request/previewPermalink to See what deleting your account removes
- Dashboard session only, no API key
The signed in person named in the email sends the token. Changes nothing. Answers the personal workspace with its counts, the businesses you leave, and the day the erase starts.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, AccountDeletionLinkBody
Fields
| Name | Type | Description |
|---|---|---|
token required | string | The single use secret from the link in the confirmation email. |
Responses
| Status | Body | Description |
|---|---|---|
200 | AccountDeletionPreview | What goes |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The link is not for this account, or it is not valid |
409 | Problem | Something must be settled first |
410 | Problem | The link expired |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
email required | string | |
link_expires_at required | string (date-time) | |
workspace required | object or null | The personal workspace that is erased, or null when the person has none. |
workspace.id required | string | |
workspace.name required | string | |
workspace.sites required | integer | Range: 0 to any. |
workspace.domains required | integer | Range: 0 to any. |
workspace.dns_zones required | integer | Range: 0 to any. |
workspace.plans required | integer | Subscriptions that are not over. They end at the end of the term already paid, no refund. Range: 0 to any. |
leaves required | array of object | The businesses the person leaves at once. They stay open for everyone else. |
leaves[].company_id required | string | |
leaves[].company_name required | string | |
purge_after required | string or null (date-time) | When the erase starts unless it is undone. Null when there is no workspace to wait for. |
plan_ends_at required | string or null (date-time) | When the last paid term ends, when it is later than today. Null when no plan runs on. |
erase_now_purge_after required | string or null (date-time) | When the erase starts if you choose erase now: the 30 day wait counted from today. Null when there is no workspace to wait for. |
grace_days required | integer |