Delete a published post from a social account
delete_published_postDELETES a post that already went out from the social account it was published on — it disappears from the public profile with its likes and comments, and cannot be undone. One account per call: pass connection_id (get_post_performance lists each account a post went out on); it may be left out only when the post went out on one account. Not every platform allows it: Instagram posts have to be deleted in the Instagram app, and a YouTube channel connected for uploads only has to delete in YouTube Studio — the answer says so plainly. Only with the user's explicit go-ahead. The post stays on the calendar and can be published again. To stop a post that has not gone out yet, use cancel_queued_post instead.
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": {
"brand_id": "<brand_id>",
"post_id": "<post_id>"
},
"name": "delete_published_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The post id from get_calendar | |
| brand_id | Yes | Brand workspace id from list_brands | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| connection_id | No | The account to delete it from (connection_id from get_post_performance or list_social_accounts). |