---
title: "Update Group"
method: PATCH
path: "/api/category-groups/{group_id}"
tags: ["category-groups"]
---

# Update Group

`PATCH /api/category-groups/{group_id}`

## Path parameters

- `group_id` string, uuid, required

## Headers

- `X-Workspace-Id` string, nullable

## Request body

- CategoryGroupUpdate
  - `name` string, nullable
  - `icon` string, nullable
  - `color` string, nullable
  - `position` integer, nullable

## Response `200`

Successful Response

- CategoryGroupRead
  - `name` string, required
  - `icon` string
  - `color` string
  - `position` integer
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `is_system` boolean, required
  - `categories` CategoryRead[]
    - `name` string, required
    - `icon` string
    - `color` string
    - `id` string, uuid, required
    - `user_id` string, uuid, required
    - `group_id` string, uuid, nullable
    - `is_system` boolean, required
    - `treat_as_transfer` boolean
    - `is_ignored` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) · [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesecuro/securo/revisions/1df3dfa0c028/schema)
