Permanently delete a site and all of its content (pages, versions, interactions, submissions, assets under this site's prefix, gate configuration). Requires `confirm: true` — pass true only after the human operator has agreed to the deletion, not as a default. Requires owner or admin role. This operation cannot be undone; the outgoing slug is retired and can never be reused by another site.
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | — |
| site_id | uuid | Yes | — |
| confirm | boolean | Yes | Set to true only after the human operator has agreed to permanently delete this site. Passing false (or omitting) raises E_CONFIRM_REQUIRED, which is the intended machine-readable signal to stop and ask the human. |
| Name | Type | Description |
|---|---|---|
| deleted | true | — |
| site_id | uuid | — |
| removed_objects | integer | — |
| idempotency_replay | false | — |
delete_site is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 38 Sentway tools. See connecting over MCP.