Unpublish site
unpublish_siteTakes a site off the web WITHOUT deleting anything (pages, versions and uploads stay; publish_site puts it back; delete_site removes content). Its address and domains then show a "being worked on" page (status 404). The edge cache is cleared too: cache.invalidated true = gone everywhere within a minute or two; false = a copy fetched just before can be served for up to 5 minutes.
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>"
},
"name": "unpublish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id (from list_sites) |