pressable_delete_site
Remove a WordPress site from the Pressable hosting platform by specifying its ID or name to manage site lifecycles.
Instructions
Delete a specific site.
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": {
"id": "<id>"
},
"name": "pressable_delete_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The site ID or name to delete |
Implementation Reference
- tools/sites.js:61-63 (handler)The handler implementation for 'pressable_delete_site' which calls the API delete endpoint.
handler: async (args) => { return await api.delete(`/sites/${args.id}`); } - tools/sites.js:54-60 (schema)The schema definition for 'pressable_delete_site'.
inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'The site ID or name to delete' } }, required: ['id'] }, - tools/sites.js:51-64 (registration)The registration block for 'pressable_delete_site' in the tools list.
{ name: 'pressable_delete_site', description: 'Delete a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'The site ID or name to delete' } }, required: ['id'] }, handler: async (args) => { return await api.delete(`/sites/${args.id}`); } },