Delete a post
delete_postOn one site of the account, named in site. Deletes a post for good: its revisions go with it, its pictures stay in the library, its blocks stay as rows. A page with pages under it in a collection stays until they are moved or deleted. Editors delete anything; an author their own drafts.
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": {
"site": "<site>",
"post_id": "<post_id>"
},
"name": "delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to work on, as list_sites names it | |
| post_id | Yes |