delete_x_post
Delete a post on X destructive
Description
Permanently delete one of the connected account’s posts on X. This CANNOT be undone — confirm the exact post with the user first. Costs credits (X bills per API call). Needs X connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
idrequired | string | the numeric X post id — the last part of the post URL |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/delete_x_post.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_x_post","arguments":{"id":"<string>"}}}
CLI
hermoso call delete_x_post --json '{"id":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
edit_x_postEdit a post on Xx_post_metricsRead performance of a post on Xpost_x_articlePublish a long-form Article to Xx_post_insightsAdvertiser analytics for your own posts on Xpost_to_xPublish a post to X (Twitter)x_post_insights_historicalAdvertiser analytics for your own X posts, over any date rangex_mentionsRead who is mentioning you on X