Update a ticket
deskpro_update_ticketChange a ticket's subject, status, assignment, department, organization, urgency, hold state or labels. Only the fields you pass are sent. Reversible by updating again. Cannot set the hidden (deleted/spam) status. Deskpro: PUT /api/v2/tickets/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | The ticket's labels. | |
| status | No | Ticket status: awaiting_agent, awaiting_user, pending or resolved, optionally with a custom sub-status id suffix (e.g. pending.5 — see deskpro_list_ticket_statuses). The hidden (deleted/spam) status is not settable here. | |
| is_hold | No | Put the ticket on hold (true) or take it off hold (false). | |
| subject | No | New subject. | |
| urgency | No | Urgency 1-10. | |
| agent_id | No | Assign to this agent id. | |
| ticket_id | Yes | The ticket's numeric id. | |
| agent_team | No | Assign to this agent team id. | |
| department | No | Move to this department id. | |
| organization | No | Set the organization id. |