---
title: "Update a CMS category"
method: PATCH
path: "/cms/categories/{id}"
tags: ["CMS"]
---

# Update a CMS category

`PATCH /cms/categories/{id}`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/cms/categories/{id}`
- Auth: API key in header `X-API-KEY`

Update a FraseCMS category. `site_id` is required to scope the lookup; other fields are optional.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `site_id` string, uuid, required: Required. The site the category belongs to.
  - `name` string
  - `description` string, nullable
  - `parent_id` string, uuid, nullable

## Response `200`

Category updated

- object
  - `data` object
    - `category` object
      - `id` string, uuid
      - `name` string
      - `slug` string
      - `description` string, nullable
      - `parent_id` string, uuid, nullable
      - `post_count` integer
  - `request_id` string

## Other responses

- `400`: Validation failed
- `401`: Authentication failed
- `404`: Resource not found
- `429`: Rate limited, or the org's monthly brief limit blocked minting the refreshed brief (only the FIRST supersession of a brief is billing-exempt; repeats meter normally)

---

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