Appearance
Preview permanent account deletion ​
Hosted owner session and explicit account context required. Checks live Stripe subscriptions and schedules. Returns a session-bound confirmation token valid for ten minutes. Impersonation and bearer tokens are rejected.
Request preparation ​
Send a GET request to /account/deletion on the appropriate server. Check the API overview for base URL guidance and the server information in the interactive reference. Replace path placeholders with identifiers from the intended account or site; a similarly named record in another workspace is not interchangeable.
The declared request parameters are:
host_id(query, required): Use the type and constraints shown in the parameter reference.
No request body is declared in the current specification. Check the route and any documented parameters before sending the request rather than adding an arbitrary JSON payload.
Authentication and scope ​
The specification lists these security alternatives: BrowserSession. Read any operation-specific restrictions as well: browser-session, account-role, and signed-user requirements may impose additional conditions. See authentication before choosing a credential.
Keep credentials in the appropriate private configuration and remove secrets from shared logs. Confirm the target resource belongs to the intended workflow before issuing a request. Authentication alone should not be treated as confirmation that a supplied account, site, or customer identifier is correct.
Response handling ​
The documented responses for Preview permanent account deletion are:
- 200: Eligible account and confirmation token
- 400: Explicit account context required
- 403: Owner browser session required
- 409: Subscription not fully canceled
- 503: Billing could not be verified
Begin with a known record or a narrow query and inspect the returned fields before displaying them to users. Where the operation defines pagination, follow those parameters to retrieve additional results. An empty successful response is different from a failed request; keep errors visible to the calling workflow instead of presenting them as an empty data set.
If a connection fails after submission, investigate the current server state before repeating an action whose outcome is uncertain. When requesting support, retain the method, route, response status, and sanitized error message. The interactive reference below provides the detailed schemas and examples for this specific operation.
Preview permanent account deletion​
GET
/account/deletion
Hosted owner session and explicit account context required. Checks live Stripe subscriptions and schedules. Returns a session-bound confirmation token valid for ten minutes. Impersonation and bearer tokens are rejected.
Authorizations​
Responses​
Eligible account and confirmation token
application/json
JSON"host_id": "string","name": "string","eligible": true,"confirmation_token": "string","deletion": "string"
{
 Â
 Â
 Â
 Â
 Â
}