---
title: "Reorder categories"
method: POST
path: "/api/categories/reorder"
tags: ["Categories"]
---

# Reorder categories

`POST /api/categories/reorder`

Replaces the order of categories within a single group.

## Request body

- object
  - `categoryIds` string[], required
  - `groupId` string, uuid, required

## Response `200`

Reordered

- object
  - `success` boolean, required

## Other responses

- `401` — Unauthorized
- `403` — Subscription required
- `404` — Group not found
- `422` — Validation failed

---

[API](https://skmtc.dev/cobaltpf/apis/cobalt-api.md) · [All operations](https://skmtc.dev/cobaltpf/apis/cobalt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cobaltpf/cobalt-api/revisions/8ef0dfb5d23c/schema)
