---
title: "Delete / pin own stories"
locale: en
url: https://tlg.builera.app/en/docs/reference/rest/stories.manage
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# Delete / pin own stories

Act on the account's own stories by id: delete (cannot be undone), pin (keep on the profile) or unpin. With `conversationId` (a channel / supergroup chat the account administers, worker ≥ 1.0.33) it acts on that channel's stories.

Act on the account's own stories by id: delete (cannot be undone), pin (keep on the profile) or unpin. With `conversationId` (a channel / supergroup chat the account administers, worker ≥ 1.0.33) it acts on that channel's stories.

## Overview

| Name | Value |
| --- | --- |
| Code | `stories.manage` |
| Scope needed | `profile.write` |
| Risk | Write |
| May need confirmation | Yes |
| Runs as | Queues work for a node |
| Needs `Idempotency-Key` | Yes |
| Member roles allowed | `owner`, `manager` |
| Needs a worker from version | `1.0.29` |
| In the app | Accounts → Stories → Delete / Pin |

## Input fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `accountId` | `uuid` | Yes |   |
| `op` | `"delete" \| "pin" \| "unpin"` | Yes |   |
| `ids` | `integer[]` | Yes |   |
| `conversationId` | `uuid` | No |   |

## Example request

```bash
curl -X POST https://tlg.builera.app/api/public/v2/ops/stories.manage \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <unique key per operation>" \
  -d '{"accountId":"00000000-0000-0000-0000-000000000000","op":"delete","ids":[]}'
```

## Output fields (`data`)

| Field | Type | Required |
| --- | --- | --- |
| `ok` | `true` | Yes |
| `jobId` | `text` | Yes |

## Example answer

```json
{
  "data": {
    "ok": true,
    "jobId": "00000000-0000-4000-8000-000000000000"
  }
}
```

## Using it over MCP

Not listed on any profile: call `tools_describe` then `tools_run` with `code: "stories.manage"`. Tool name when listed: `stories_manage`.
