---
title: "Edit a ticket"
method: PATCH
path: "/api/v1/board/tickets/{key}"
---

# Edit a ticket

`PATCH /api/v1/board/tickets/{key}`

## Request

- Base URL: `https://tallymeter.com`
- URL: `https://tallymeter.com/api/v1/board/tickets/{key}`
- Auth: HTTP bearer

Only the fields sent are touched; anything omitted is left alone. `append_description` adds to the body instead of replacing it, which is the safe way to amend a ticket somebody else wrote. Requires the `board:write` scope.

## Path parameters

- `key` string, required

## Request body

- object
  - `title` string
  - `description` string: replaces the body outright
  - `append_description` string: appends instead of replacing
  - `type` string
  - `priority` string
  - `estimate_minutes` integer, nullable
  - `labels` string[]

## Response `200`

Updated

- object
  - `key` string
  - `changed` string[]

## Other responses

- `401`: Missing or invalid token
- `403`: Token lacks the required scope, or the account has no active plan
- `404`: No such ticket in this workspace
- `422`: No fields to change

---

[API](https://skmtc.dev/tallymeter/apis/tallymeter-api.md) · [All operations](https://skmtc.dev/tallymeter/apis/tallymeter-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tallymeter/apis/tallymeter-api/revisions/50044367b64e?raw)
