Delete published content from platform
delete_published_targetDeletes publicly published content from the social platform. Requires confirm:true, which indicates the user has confirmed deleting this specific post on this platform; without it, 409 MAIN_WEB_DELETE_CONFIRMATION_REQUIRED is returned. Deletion cannot be undone. Only this one item on this one platform is deleted; other platforms are not affected. Same direct-publish gate as publish_post (enabled by the owner, platform checked; never allowed for TikTok); TikTok, YouTube, Telegraph, and Instagram do not support deletion through Content Distributor and return 409 MAIN_WEB_REMOTE_DELETE_UNSUPPORTED (Instagram posts can be deleted in the Instagram app). (Required scope: cd.posts.publish)
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": {
"postId": "<postId>",
"targetId": "<targetId>",
"confirm": "<confirm>"
},
"name": "delete_published_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ||
| confirm | Yes | true = the user has approved this specific action. Without it the request is rejected with 409 AGENT_USER_CONFIRMATION_REQUIRED. | |
| targetId | Yes | targets[].id returned by get_post | |
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |