Update ticket
enchant_update_ticketDestructive
WRITE: change a ticket: state (open, hold, closed), assignee, inbox, subject, spam or trash (not both true). label_ids REPLACES all labels (empty array clears them); use enchant_add_ticket_labels to keep existing ones. Enchant REST: PATCH /tickets/{id}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket id. | |
| spam | No | Mark as spam. Cannot be true together with trash. | |
| state | No | New state. | |
| trash | No | Send to trash. Cannot be true together with spam. | |
| subject | No | New subject. | |
| user_id | No | Assign to this user id; null unassigns the ticket. | |
| inbox_id | No | Move to this inbox id. | |
| label_ids | No | The full new set of label ids (replaces existing labels). |