---
title: "Update group"
method: PUT
path: "/v1/account-groups/{groupId}"
tags: ["Account Groups"]
---

# Update group

`PUT /v1/account-groups/{groupId}`

Updates the name or account list of an existing group. You can rename the group, change its accounts, or both.

## Path parameters

- `groupId` string, required

## Request body

- object
  - `name` string
  - `accountIds` string[]

## Response `200`

Updated

- object
  - `message` string
  - `group` object

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Resource not found
- `409` — Group name already exists

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
