---
title: "Update existing group"
method: POST
path: "/change-group"
---

# Update existing group

`POST /change-group`

Allows you to modify an existing group by updating its name, description, or changing the members in the group. **To keep existing members in the group, you must include their IDs in the list.**

**Parameters:**

-   `companyKey` _(string, required)_ - The company's secret key.
-   `groupId` _(string, required)_ – The unique identifier of the group.
-   `name` _(string, optional)_ – The name of the new group.
-   `description` _(string, optional)_ – A description for the group.
-   `memberIds` _(array of strings, optional)_ – A list of user IDs to be added or removed from the group. To keep existing members in the group, you must include their IDs in the list.

## Request body

- ChangeGroup
  - `companyKey` string
  - `groupId` string
  - `name` string
  - `description` string
  - `memberIds` string[]

## Response `200`

Success

- ChangeGroupResponse

## Other responses

- `400` — ArgumntError

## Changes

- **2026-08-12** `cda4b2b11372` — 1 breaking, 1 info
  - added `subschema #3` to the response body `oneOf` list for the response status `400`
  - added the new optional request property `description`

[Change history](https://skmtc.dev/identomat/apis/generated-api/changes/change-group/post.md)

---

[API](https://skmtc.dev/identomat/apis/generated-api.md) · [All operations](https://skmtc.dev/identomat/apis/generated-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/identomat/generated-api/revisions/cda4b2b11372/schema)
