Partially updates an existing ticket. Only the fields included in the request body are changed; omitted fields retain their current values. Tags are preserved from the existing record when omitted in a PATCH request.
The writable fields are the same as for ticket creation (see Section4.4, “Create a ticket — POST /v1/ats/tickets”), with the exception that content_html and catid are not accepted on update.
Example request:
PATCH /api/index.php/v1/ats/tickets/42Authorization: Bearer <token>Accept: application/vnd.api+jsonContent-Type: application/json{ "title": "Cannot log in — RESOLVED", "status": "C"}HTTP codes:
Returns the updated ticket resource.
The API user does not have core.edit (or core.edit.own for their own ticket) permission on the category, or the ticket does not exist.