Deletes a ticket and its time entries.
This is the same soft-delete the app performs: the ticket is deactivated and recoverable from the Recycle Bin, never removed. Its delayed actions are cleared, scheduled automation is cancelled and it leaves the search index, exactly as when it is deleted in the app. The ticket’s time entries are deleted with it, and any contract hours they consumed are returned to the contract. If any of those time entries has already been approved, completed, voided or invoiced the whole request is refused with 409 and nothing is deleted; the message lists the blocking time entries. Deleting an already-deleted ticket succeeds without repeating any of that, so a retried request is safe.
授权
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
路径参数
Ticket to delete.
响应
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 null