---
title: "Create Component Group"
method: POST
path: "/component-groups"
tags: ["Component Groups"]
---

# Create Component Group

`POST /component-groups`

## Request body

- CreateComponentGroupRequestData
  - `name` string, required
  - `order` integer, nullable
  - `visible` 0 | 1 | 2
  - `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
- `422` — Validation error

## Changes

- **2026-08-28** `7f89fdcf710a` — 1 info
  - the `` request property default value `1` was added
- **2026-08-25** `96314e3ca8ef` — 1 info
  - added the optional property `included/items/relationships/tags` to the response with the `200` status
- **2026-07-27** `09d2b7258b3c` — 1 breaking, 7 warning, 2 info
  - the `included/items/attributes/pivot/component_status/value` response's property type/format changed from `string, null`/`` to `integer, null`/`` for status `200`
  - added the new `Major outage` enum value to the `included/items/attributes/pivot/component_status/human` response property for the response status `200`
  - added the new `Operational` enum value to the `included/items/attributes/pivot/component_status/human` response property for the response status `200`
  - added the new `Partial outage` enum value to the `included/items/attributes/pivot/component_status/human` response property for the response status `200`
  - …6 more
- **2026-07-13** `408fd86def03` — 1 breaking, 2 info
  - the response property `included/items/attributes/meta` became optional for the status `200`
  - added the new optional request property `meta`
  - added the optional property `data/attributes/meta` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/cachethq/apis/cachet/changes/component-groups/post.md)

---

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