---
title: "UpdateUsergroup updates a user group's name and/or description"
method: PATCH
path: "/v1/orgs/{org}/usergroups/{usergroup}"
---

# UpdateUsergroup updates a user group's name and/or description

`PATCH /v1/orgs/{org}/usergroups/{usergroup}`

## Path parameters

- `org` string, required
- `usergroup` string, required

## Request body

- object
  - `description` string
  - `newName` string

## Response `200`

A successful response.

- V1UpdateUsergroupResponse
  - `usergroup` V1Usergroup
    - `createdOn` string, date-time
    - `groupDescription` string
    - `groupId` string
    - `groupName` string
    - `managed` boolean
    - `updatedOn` string, date-time

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/versions/289a0ca9ce49/schema)
