delete_site
Permanently delete a site and all its deployed files. Action requires explicit user confirmation to prevent accidental data loss.
Instructions
Permanently delete a Hostsmith site and all of its deployed files. Destructive - only call after explicit user confirmation. The site URL becomes unreachable immediately and the content cannot be recovered. The user must pass confirm: true for the deletion to proceed; otherwise the call returns an error explaining the safeguard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site ID to delete (from `list_sites` or `get_site`). | |
| confirm | No | Set to true only after the user has explicitly confirmed they want to permanently delete this site. Required safeguard - never pass true speculatively. | |
| partition | No | Data partition the site lives in. Omit to use the user's home partition. |