x-twitter.delete_post
Delete a post published by a connected X account.
Call x-twitter.connected_accounts first. Pass user_id or user_name to target a specific account, or omit both to use the default account.
Cost = 25 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Numeric id of the post to delete. | |
| user_id | No | Numeric X user id from x-twitter.connected_accounts. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account. | |
| user_name | No | X handle from x-twitter.connected_accounts, with or without a leading @. Pass user_id or user_name to target a specific account, not both. Omit both to use the default account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | No | Whether the post was deleted. | |
| user_id | No | Numeric X user id of the connected account. | |
| user_name | No | X handle of the connected account. |