Delete ticket
Deletes a ticket. Its reserved parts are released and its devices returned to service; devices_not_returned counts devices whose return failed (an hourly sweep retries them).
Authorization
LuxorAPIKey Use your API key here.
In: header
Path Parameters
Ticket id (uuid).
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v2/commander/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "part_stock_changed": true, "devices_not_returned": 0}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 403, "code": "7", "error": "Forbidden", "message": "[permission_denied] site_id does not belong to this workspace"}{ "statusCode": 404, "code": "5", "error": "Not Found", "message": "[not_found] agent not found"}Update ticket
Updates the fields you send and returns the ticket. Unknown keys are rejected with a 400. `assignee_ids` replaces the assignees (`[]` clears them); `description: null` clears the description. Moving into a status whose `stock_action` is `consume` or `release` consumes or releases the ticket's reserved parts, reported by `part_stock_changed`. The site of an existing ticket cannot be changed.
Get ticket statuses
Returns the workspace's ticket statuses (board columns) in order. Use a status `id` as `status_id` when creating, updating or filtering tickets. `system_status` tells you which ones close a ticket, and `stock_action` what entering one does to reserved parts.