---
title: "Merge two CMS categories"
method: POST
path: "/cms/categories/{id}/merge"
tags: ["CMS"]
---

# Merge two CMS categories

`POST /cms/categories/{id}/merge`

## Request

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

Re-point every post from this category onto `merge_into`, then delete this category. Runs as one transaction.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `site_id` string, uuid, required: Required. The site both categories belong to.
  - `merge_into` string, uuid, required: Required. The surviving category.

## Response `200`

Categories merged

- object
  - `data` object
    - `merged` string, uuid
    - `into` string, uuid
  - `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)
