---
title: "Update Template Item"
method: PATCH
path: "/api/templates/items/{item_id}"
tags: ["templates"]
---

# Update Template Item

`PATCH /api/templates/items/{item_id}`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/templates/items/{item_id}`
- Auth: HTTP bearer

Update a template item.

## Path parameters

- `item_id` string, uuid, required

## Request body

- TemplateItemUpdate: Update a template item.
  - `name` string, nullable
  - `description` string, nullable
  - `category` string, nullable
  - `is_required` boolean, nullable
  - `sort_order` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
