Take a published post down (unpublish or delete)
publish_post_delete[DESTRUCTIVE] TAKES A LIVE POST DOWN from real accounts. takedown: "unpublish" (per platform; platforms = "facebook,linkedin" to pick, default every live platform that allows it) or "delete" (the whole post). Two steps: call it first WITHOUT confirm to get the plan (status "confirm-required", nothing changed), show it to the user, then repeat with confirm: true. Refused while a running boost / ad uses the post (ad_running): offer to pause the ad first, or pass acknowledgeAds: true if the user accepts that the ad breaks. flayr's post follows (each platform marked, cancelled once none is live). Answers per platform ok and confirmation. For a scheduled (not yet live) post use publish_post_cancel. Needs the publish scope (or admin) and the Pro plan or higher. Every call is audited. Was take_down_post (still callable for one release).
(Wraps DELETE /api/v2/posts/{id}.)
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": "publish_post_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | e.g. "id_123". The post: `convexPostId` from POST /api/v2/publish, or `posts[].id` from GET /api/v2/content/{id}. | |
| confirm | No | e.g. false. LIVE post: true to really take it down; otherwise only the plan. | |
| takedown | No | e.g. "unpublish". LIVE post only: how to take it down. | |
| platforms | No | e.g. "Example". LIVE post, takedown=unpublish: comma-separated platforms (default: every live platform that allows it). | |
| acknowledgeAds | No | e.g. false. LIVE post: go ahead although a running boost / ad uses it. |