---
title: "Update Component Group"
method: PUT
path: "/component-groups/{componentGroup}"
tags: ["Component Groups"]
---

# Update Component Group

`PUT /component-groups/{componentGroup}`

## Path parameters

- `componentGroup` integer, required

## Request body

- UpdateComponentGroupRequestData
  - `name` string, nullable
  - `order` integer, nullable
  - `visible` boolean, nullable
  - `collapsed` 0 | 1 | 2
  - `order_column` 'id' | 'last_updated' | 'name' | 'manual' | 'status'
  - `order_direction` 'asc' | 'desc'
  - `components` integer[], nullable
  - `meta` object, nullable

## Response `200`

`ComponentGroup`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/cachethq/apis/cachet.md) · [All operations](https://skmtc.net/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/1cae90969eb9/schema)
