> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Draft Post

> Permanently deletes an X Ads draft post

Permanently deletes an X Ads draft post.

| | |
| - | - |
| **App** | X Ads |
| **Operation ID** | `x_ads_delete_draft_post` |
| **Type** | Action |
| **Connection** | `x_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the X Ads account that owns the draft post. |
| `draft_post_id` | string or SelectItem | Yes | - | Draft post ID to delete. Deleting is permanent and cannot be undone. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `String`

Returns a confirmation of the deletion.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.