---
title: "Update a request"
method: PATCH
path: "/support/v1/tickets/{ticketId}"
tags: ["Support Requests"]
---

# Update a request

`PATCH /support/v1/tickets/{ticketId}`

Partially updates a support request. Supports setting the request
`status` and/or `assignee`. DoiT employees may set any of `open`,
`pending`, `hold`, or `solved` and may set the `assignee`; customers may
set only `solved` (parity with the console "mark as resolved" action)
and may not set an assignee. `closed` is not settable via the API
(Zendesk auto-closes from `solved`). The `assignee` is a DoiT-employee
email, resolved server-side to a Zendesk agent; an email that does not
resolve to an active agent returns `400`. At least one mutable field
must be present. The response echoes the fields that were applied.

## Path parameters

- `ticketId` integer, required

## Request body

- object
  - `status` 'open' | 'pending' | 'hold' | 'solved' — The status to set on the request.
  - `assignee` string, email — Email of the DoiT employee to assign the request to, resolved to a Zendesk agent. DoiT employees only.

## Response `200`

OK - Request updated. Echoes the fields that were applied.

- object
  - `id` integer
  - `status` string
  - `assignee` string

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `404` — Not Found - The requested resource does not exist.

---

[API](https://skmtc.net/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.net/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/versions/9416402fc119/schema)
