Delete a draft
delete_postDeletes a post that is not scheduled and never published (DRAFT, IN_REVIEW, CHANGES_REQUESTED, APPROVED, or a canceled post). A pending approval link stops working. Scheduled posts: cancel_post first. Published posts stay for their analytics. Cannot be undone through the API.
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": {
"workspace_id": "<workspace_id>",
"post_id": "<post_id>"
},
"name": "delete_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| workspace_id | Yes | Workspace id from list_workspaces |