> ## Documentation Index
> Fetch the complete documentation index at: https://smithers.sh/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`: stamps a `deleted_at_ms` tombstone instead of removing the row, so `listTickets` hides it without losing history and the file-watcher never writes it back to disk. Unknown or already-deleted `path` returns `TicketNotFound`.

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