delete_publication
Delete an existing publication from Postmypost and/or connected social networks.
Parameters
id(integer, required): Publication ID.delete_option(integer, required): Deletion method:1: delete everywhere2: only in social network3: only in Postmypost
account_ids(string, required): Comma-separated list of account IDs.
Example Request
curl -X POST https://mcp.postmypost.io/v1 \
-H "Authorization: Bearer <your-api-token>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_publication",
"arguments": {
"id": 12345,
"delete_option": 1,
"account_ids": "1,2,3"
}
}
}'