Take a website offline
unpublish_siteTakes a published website offline: its public address shows "not published" within seconds. The site, its name and any custom domain stay with the person, so publish_site later brings it back on the same address. Only when the person asks to take the site down.
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 | The site id from list_sites or create_site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| status | Yes |