# cancel_post

> Page: https://docs.flung.dev/reference/mcp/cancel-post. Index of every page: https://docs.flung.dev/llms.txt

Cancel a scheduled post. Stops a post that has not started publishing. Only when the person asks; it cannot be undone, but the post can be scheduled again.

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Stops a post that has not started publishing. Only when the person asks; it cannot be undone, but the post can be scheduled again. |
| Does it change anything? | Changes or removes something. Ask the person before calling it. |
| Which endpoint does it call? | [`POST /v1/posts/{id}/cancel`](https://docs.flung.dev/reference/api/post-v1-posts-id-cancel.md) |
| Which server? | `https://mcp.flung.dev/mcp-oauth` (sign in) or `https://mcp.flung.dev/mcp` (API key). |

## Arguments

| Argument | Type | Required | Description |
|---|---|---|---|
| `postId` | `string` | yes | A post id, such as post_... at least 1 character; at most 64 characters; pattern `^post_[a-z2-7]+$`. |

## Example call

```json
{
  "name": "cancel_post",
  "arguments": {
    "postId": "post_aaaaaaaaaaaaaaaaaaaaaaaa"
  }
}
```

## Things a person might say

- "Cancel the launch post."

## Annotations

| Hint | Value |
|---|---|
| `readOnlyHint` | false |
| `destructiveHint` | true |
| `idempotentHint` | true |
| `openWorldHint` | false |

## See also

| Doc | Why |
|---|---|
| [MCP tools](https://docs.flung.dev/reference/mcp.md) | Every tool |
| [Connect an AI agent](https://docs.flung.dev/mcp.md) | Install the server in your client |
| [`POST /v1/posts/{id}/cancel`](https://docs.flung.dev/reference/api/post-v1-posts-id-cancel.md) | The same operation over HTTP |
