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

# delete_post

> Deletes a draft, failed or archived post and its attachments for good.

{/* Generated by apps/docs/scripts/generate.ts. Do not edit by hand. */}

**Delete a post** · Write

Deletes a draft, failed or archived post and its attachments for good. It cannot be undone: only call it when the user asked to delete this post. Free.

* **Credits:** Free
* **Needs confirmation:** no
* **In the ChatGPT app:** no

## Input

**postId** `string` *required*

Post id (from import\_post, generate\_post or get\_post). Format: `uuid`.

**workspace** `string`

Workspace id or exact name. Required when this connection can use more than one workspace (see list\_workspaces). Length 1–200.

## Example call

```json Tool call
{
  "name": "delete_post",
  "arguments": {
    "postId": "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f"
  }
}
```

## Related

* [All MCP tools](/mcp/tools.md)
* [Connect an assistant](/mcp/quickstart.md)
* [Limits and errors](/mcp/limits-and-errors.md)
