> ## Documentation Index
> Fetch the complete documentation index at: https://smithers-feat-claude-workflow-mirror.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteTicket

> Gateway RPC for soft-deleting a work doc.

* Method: `deleteTicket`
* Scope: `ticket:write`
* Transports: HTTP RPC, WebSocket RPC
* Request: `{ path }`
* Response: `{ path, deleted }`

Soft-deletes a work doc by `path`, stamping a `deleted_at_ms` tombstone rather than removing the row. The row survives so `listTickets` hides it without losing history, and the file-watcher never materializes a tombstone back to disk. An unknown or already-deleted `path` returns `TicketNotFound`.

Errors are versioned as `v1` and include `InvalidRequest`, `Unauthorized`, `Forbidden`, `TicketNotFound`, and `Internal`.
