---
title: "Update user group"
method: PUT
path: "/v2/user-groups/settings"
tags: ["User Groups"]
---

# Update user group

`PUT /v2/user-groups/settings`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/user-groups/settings`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/user-groups/settings/put.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `partitionId` string, required
- `accountId` string, required
- `groupId` string, required

## Request body

- UserGroupRequest
  - `partitionId` string
  - `accountId` string
  - `groupId` string
  - `groupName` string
  - `groupDescription` string
  - `userIds` object[]
    - `userId` string
    - `endUserType` string

## Response `200`

User group updated

## Other responses

- `400`: Invalid request
- `401`: Unauthorized

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
