---
title: "Update a cluster group"
method: PATCH
path: "/{org_slug}/cluster-groups/{id}"
tags: ["Clusters"]
---

# Update a cluster group

`PATCH /{org_slug}/cluster-groups/{id}`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/cluster-groups/{id}`
- Auth: HTTP bearer

Update a cluster group

## Path parameters

- `org_slug` string, required
- `id` string, required

## Request body

- object
  - `description` string, nullable
  - `name` string
  - `parent_id` string, nullable
  - `slug` string

## Response `200`

Updated

- object
  - `cluster_group` object, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `updated_at` string, required
    - `cluster_count` number
    - `description` string, nullable
    - `parent_id` string, nullable
    - `parent_name` string, nullable
  - `tags` object[], required
    - `id` string, required
    - `tag_id` string, required
    - `tag_name` string, required
    - `tag_color` string, nullable

## Other responses

- `400`: Validation Error
- `404`: Not found
- `409`: Conflict

---

[API](https://skmtc.dev/obelinf/apis/obelinf-api.md) · [All operations](https://skmtc.dev/obelinf/apis/obelinf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/obelinf/apis/obelinf-api/revisions/463fcf791828?raw)
