Skip to content

Data rights

17 operations in the WP Waterfall API.

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

NameInTypeDescription
confirm requiredquerystring
cancel_planquerystringOne of: true, false.

Responses

StatusBodyDescription
202CompanyDeletionDeletion scheduled
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the owner can delete the company
409ProblemA live plan or an unpaid invoice stops the deletion
422ProblemThe typed name does not match
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

202 response fields

NameTypeDescription
company_id requiredstring (uuid)UUIDv7
state requiredstringOne of: scheduled, purging, purged, cancelled.
requested_at requiredstring (date-time)
purge_after requiredstring (date-time)The day the erase starts, unless the owner undoes the deletion first.
requested_by requiredstring or null
can_undo requiredbooleanTrue while the owner can still undo it.
closed requiredbooleanTrue when the company is already closed to its members (the older Close company path).
plan_note requiredstring or nullOne sentence about the plan, for the owner. Null when there was no plan.
deletes_account requiredbooleanTrue 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

StatusBodyDescription
200DataExportStateExport state
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
latest requiredone of DataExport, nullThe newest request, or null when there never was one.
next_request_at requiredstring 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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

StatusBodyDescription
202DataExportAccepted
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed, or a recent sign-in is needed
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemOne export a day

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
scope requiredstringOne of: company, user.
status requiredstringOne of: queued, building, ready, failed, expired.
requested_at requiredstring (date-time)
ready_at requiredstring or null (date-time)
expires_at requiredstring or null (date-time)When the archive is removed. Null until it is ready.
size_bytes requiredinteger or nullRange: 0 to any.
file_count requiredinteger or nullRange: 0 to any.
job_id requiredstring or null (uuid)UUIDv7
error requiredstring or nullOne plain sentence when the export failed.
download_available requiredbooleanTrue 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the data export.
Idempotency-Key requiredheaderstringSend 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

StatusBodyDescription
200DataExportLinkA signed link
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed, or a recent sign-in is needed
404ProblemNo such export
409ProblemThe export is not ready
410ProblemThe export expired
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
503ProblemDownloads are not available on this server

200 response fields

NameTypeDescription
url requiredstring (uri)
expires_at requiredstring (date-time)
filename requiredstring

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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
token requiredstringThe single use secret from the link in the confirmation email.

Responses

StatusBodyDescription
202CompanyDeletionDeletion scheduled
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the business owner, with a recent sign-in
404ProblemThe link is not for this person, or it is not valid
409ProblemSomething must be settled first, or a deletion already waits
410ProblemThe link expired or was used
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

202 response fields

NameTypeDescription
company_id requiredstring (uuid)UUIDv7
state requiredstringOne of: scheduled, purging, purged, cancelled.
requested_at requiredstring (date-time)
purge_after requiredstring (date-time)The day the erase starts, unless the owner undoes the deletion first.
requested_by requiredstring or null
can_undo requiredbooleanTrue while the owner can still undo it.
closed requiredbooleanTrue when the company is already closed to its members (the older Close company path).
plan_note requiredstring or nullOne sentence about the plan, for the owner. Null when there was no plan.
deletes_account requiredbooleanTrue 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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
confirm requiredstringThe business name, typed exactly as it appears, to confirm erasing it now.

Responses

StatusBodyDescription
200AccountDeletionRequestThe email was sent
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the business owner, with a recent sign-in
409ProblemSomething must be settled first, or a deletion already waits
422ProblemThe typed name does not match
429ProblemToo many emails, or one was sent less than a minute ago
503ProblemThe email could not be sent

200 response fields

NameTypeDescription
email requiredstringThe address the email went to.
expires_at requiredstring (date-time)
next_resend_at requiredstring (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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
token requiredstringThe single use secret from the link in the confirmation email.

Responses

StatusBodyDescription
200CompanyErasePreviewWhat goes
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe link is not for this person, or it is not valid
409ProblemSomething must be settled first
410ProblemThe link expired or was used
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
company_id requiredstring (uuid)The business the link erases.
company_name requiredstringThe name of the business the link erases.
email requiredstringThe owner's address the link was sent to.
link_expires_at requiredstring (date-time)When the link stops working.
sites requiredintegerSites of the business, each with its staging copies and backups. Range: 0 to any.
members requiredintegerMembers other than the owner. Each one is emailed and loses access when the erase runs. Range: 0 to any.
plans requiredintegerSubscriptions that are not over. Each one ends today with no refund. Range: 0 to any.
purge_after requiredstring (date-time)When the erase starts: the 30 day wait counted from today. The owner can undo it until then.
grace_days requiredintegerThe 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

NameInTypeDescription
limitqueryintegerHow many rows to return in one page: at most 200, and 200 when left out. Default: 200. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200PendingCompanyDeletionListPending deletions
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
data requiredarray of object
data[].company_id requiredstring (uuid)UUIDv7
data[].state requiredstringOne of: scheduled, purging, purged, cancelled.
data[].requested_at requiredstring (date-time)
data[].purge_after requiredstring (date-time)The day the erase starts, unless the owner undoes the deletion first.
data[].requested_by requiredstring or null
data[].can_undo requiredbooleanTrue while the owner can still undo it.
data[].closed requiredbooleanTrue when the company is already closed to its members (the older Close company path).
data[].plan_note requiredstring or nullOne sentence about the plan, for the owner. Null when there was no plan.
data[].deletes_account requiredbooleanTrue when this is the erase of a personal workspace that ends the owner's account.
data[].company_name requiredstring
next_cursorstring 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

NameInTypeDescription
company_id requiredpathstringThe id of the company whose deletion to undo.
Idempotency-Key requiredheaderstringSend 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

StatusBodyDescription
200CompanyDeletionDeletion cancelled
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemNo pending deletion for that company
409ProblemThe erase already started
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
company_id requiredstring (uuid)UUIDv7
state requiredstringOne of: scheduled, purging, purged, cancelled.
requested_at requiredstring (date-time)
purge_after requiredstring (date-time)The day the erase starts, unless the owner undoes the deletion first.
requested_by requiredstring or null
can_undo requiredbooleanTrue while the owner can still undo it.
closed requiredbooleanTrue when the company is already closed to its members (the older Close company path).
plan_note requiredstring or nullOne sentence about the plan, for the owner. Null when there was no plan.
deletes_account requiredbooleanTrue 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

StatusBodyDescription
200DataExportStateExport state
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
latest requiredone of DataExport, nullThe newest request, or null when there never was one.
next_request_at requiredstring 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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

StatusBodyDescription
202DataExportAccepted
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed, or a recent sign-in is needed
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemOne export a day

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
scope requiredstringOne of: company, user.
status requiredstringOne of: queued, building, ready, failed, expired.
requested_at requiredstring (date-time)
ready_at requiredstring or null (date-time)
expires_at requiredstring or null (date-time)When the archive is removed. Null until it is ready.
size_bytes requiredinteger or nullRange: 0 to any.
file_count requiredinteger or nullRange: 0 to any.
job_id requiredstring or null (uuid)UUIDv7
error requiredstring or nullOne plain sentence when the export failed.
download_available requiredbooleanTrue 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the data export.
Idempotency-Key requiredheaderstringSend 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

StatusBodyDescription
200DataExportLinkA signed link
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemNot allowed, or a recent sign-in is needed
404ProblemNo such export
409ProblemThe export is not ready
410ProblemThe export expired
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
503ProblemDownloads are not available on this server

200 response fields

NameTypeDescription
url requiredstring (uri)
expires_at requiredstring (date-time)
filename requiredstring

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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
token requiredstringThe single use secret from the link in the confirmation email.
erase_now requiredbooleanFalse (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

StatusBodyDescription
202AccountDeletionResultScheduled, or erased
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemA staff account cannot be deleted
404ProblemThe link is not for this account, or it is not valid
409ProblemSomething must be settled first
410ProblemThe link expired or was used
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

202 response fields

NameTypeDescription
status requiredstringscheduled: the workspace waits for the erase and can be undone. erased: nothing was left. One of: scheduled, erased.
purge_after requiredstring or null (date-time)
company_id requiredstring 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

StatusBodyDescription
200AccountDeletionStatusStatus
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
request requiredone of AccountDeletionRequest, nullA link was sent and still works, or null.
scheduled requiredobject or nullThe erase of the personal workspace is scheduled and can be undone, or null.
scheduled.company_id requiredstring (uuid)UUIDv7
scheduled.state requiredstringOne of: scheduled, purging, purged, cancelled.
scheduled.requested_at requiredstring (date-time)
scheduled.purge_after requiredstring (date-time)The day the erase starts, unless the owner undoes the deletion first.
scheduled.requested_by requiredstring or null
scheduled.can_undo requiredbooleanTrue while the owner can still undo it.
scheduled.closed requiredbooleanTrue when the company is already closed to its members (the older Close company path).
scheduled.plan_note requiredstring or nullOne sentence about the plan, for the owner. Null when there was no plan.
scheduled.deletes_account requiredbooleanTrue when this is the erase of a personal workspace that ends the owner's account.
scheduled.company_name requiredstring

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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
email requiredstring

Responses

StatusBodyDescription
200AccountDeletionRequestThe email was sent
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemA staff account, or a recent sign-in is needed
409ProblemSomething must be settled first: the only Owner of a business, an unpaid invoice, or a dedicated server
422ProblemThe typed address does not match the account
429ProblemToo many emails, or one was sent less than a minute ago
503ProblemThe email could not be sent

200 response fields

NameTypeDescription
email requiredstringThe address the email went to.
expires_at requiredstring (date-time)
next_resend_at requiredstring (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

StatusBodyDescription
204Cancelled
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA 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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
token requiredstringThe single use secret from the link in the confirmation email.

Responses

StatusBodyDescription
200AccountDeletionPreviewWhat goes
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe link is not for this account, or it is not valid
409ProblemSomething must be settled first
410ProblemThe link expired
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
email requiredstring
link_expires_at requiredstring (date-time)
workspace requiredobject or nullThe personal workspace that is erased, or null when the person has none.
workspace.id requiredstring
workspace.name requiredstring
workspace.sites requiredintegerRange: 0 to any.
workspace.domains requiredintegerRange: 0 to any.
workspace.dns_zones requiredintegerRange: 0 to any.
workspace.plans requiredintegerSubscriptions that are not over. They end at the end of the term already paid, no refund. Range: 0 to any.
leaves requiredarray of objectThe businesses the person leaves at once. They stay open for everyone else.
leaves[].company_id requiredstring
leaves[].company_name requiredstring
purge_after requiredstring or null (date-time)When the erase starts unless it is undone. Null when there is no workspace to wait for.
plan_ends_at requiredstring 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 requiredstring 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 requiredinteger