Delete site
delete_siteDeletes a site: off the web at once; pages, versions and uploads go. A paid plan ends (yearly: refunded; send back the refundCents stated); a live one is the person’s press in the editor (the answer links there). It goes to "Recently deleted" (list_deleted_sites (area admin); restore_site (area admin) brings it back, unpublished, on Free), restorable for 30 days, its address held for 180. confirm: the site id exactly, or refused. Full reference: get_reference {topic:"sites"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"confirm": "<confirm>"
},
"name": "delete_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id (from list_sites) | |
| confirm | Yes | The site id again, exactly | |
| refundCents | No |