Ana içeriğe geç

Schedule this workspace for deletion (owner only)

POST 

/api/workspace/deletion

OWNER ONLY (403 not_owner). Proves intent three ways: the workspace name typed exactly, the account password, and — when the account has two-factor on — a current code (two_factor_method + two_factor_code; e-mail / SMS codes come from POST /api/workspace/deletion/two-factor-code).

The workspace closes at once (403 pending_deletion everywhere but /api/me, this resource and sign-out; the widget and public pages stop resolving it; members can no longer sign in to it), its channels are paused and their provider webhooks released, renewals stop, and the owner is e-mailed the restore deadline. The data is purged after 30 days. Remaining credit and wallet balance are not refunded. Throttled (6/min) against password guessing.

Request​

Responses​

Scheduled. The state now reads pending.