---
title: "Delete Revision"
method: POST
path: "/api/mcp/delete_revision"
tags: ["mcp"]
---

# Delete Revision

`POST /api/mcp/delete_revision`

## Request

- Base URL: `https://writer.swapp1990.org` (the document declares no server; this is the origin it was published from)
- URL: `https://writer.swapp1990.org/api/mcp/delete_revision`
- Auth: none declared

Delete a specific revision of a chapter.

Remaining revisions are renumbered sequentially from 1 (with
matching `v0`, `v1`, … labels). The original chapter text — the
baseline before any revisions — is never deletable through this
path. Irreversible.

## Request body

- DeleteRevisionInput
  - `job_id` string, required: The story job ID.
  - `chapter` integer, required
  - `revision` integer, required: Revision number to delete (cannot delete revision 1 / original).

## Response `200`

Successful Response

- GenericToolResponse: Fallback for tools whose payload is still being tightened.
  - `story_url` string, nullable
  - `article_url` string, nullable
  - `job_id` string, nullable
  - `status` string, nullable
  - `is_terminal` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api.md) · [All operations](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/revisions/ce5e2a89ab4d?raw)
