> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # cancel-editing-transaction Discard the draft edits in an open editing transaction. Use `cancel-editing-transaction` to discard every edit applied since [start-editing-transaction](https://www.canva.dev/docs/apps/mcp/tools/start-editing-transaction/) and leave the design unchanged. To save the edits instead, use [commit-editing-transaction](https://www.canva.dev/docs/apps/mcp/tools/commit-editing-transaction/). ## Example prompt *"Actually, scrap those changes."* Pass the `transaction_id` returned by `start-editing-transaction`. ## Example response IDs below are placeholders; field names and structure are exactly as returned. ```json { "transaction": { "id": "TXN_EXAMPLE", "status": "cancelled" } } ``` A `status` of `cancelled` confirms the draft edits were discarded and can't be recovered. The `transaction_id` is now invalid; start a new transaction to edit the design again. NOTE: If `commit-editing-transaction` fails because someone edited the design concurrently, the transaction's snapshot is stale and retrying the commit won't help. Cancel it with this tool, then start a fresh transaction, re-apply the operations, and commit. ## Learn more * [MCP tools and rate limits](https://www.canva.dev/docs/apps/mcp/tools/) * [start-editing-transaction](https://www.canva.dev/docs/apps/mcp/tools/start-editing-transaction/) * [perform-editing-operations](https://www.canva.dev/docs/apps/mcp/tools/perform-editing-operations/) * [commit-editing-transaction](https://www.canva.dev/docs/apps/mcp/tools/commit-editing-transaction/) * [Verify your Canva MCP app](https://www.canva.dev/docs/apps/mcp/verify-app/) * [Design edit handoff](https://www.canva.dev/docs/apps/mcp/workflows/design-edit/)