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

# Update Group

`PATCH /api/v1/groups/{group_id}`

Update a group's name, description, or rule. Requires company admin.

## Path parameters

- `group_id` string, uuid, required

## Request body

- GroupUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `rule` GroupRuleCondition[], nullable
    - `attribute_key` string, required
    - `operator` 'eq' | 'in', required
    - `values` string[], required
  - `clear_rule` boolean

## Response `200`

Successful Response

- GroupRead
  - `id` string, uuid, required
  - `name` string, required
  - `description` string, required
  - `rule` GroupRuleCondition[], nullable, required
    - `attribute_key` string, required
    - `operator` 'eq' | 'in', required
    - `values` string[], required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
