---
title: "PATCH /groups/{groupID}"
method: PATCH
path: "/groups/{groupID}"
tags: ["user group"]
---

# PATCH /groups/{groupID}

`PATCH /groups/{groupID}`

ユーザーグループの情報を変更します

## Request body

- PatchUserGroup
  - `name` string — グループ名
  - `description` string — 説明
  - `adminUserId` string, uuid — 管理ユーザー

## Response `204`

正常に変更できました

## Other responses

- `400` — 正常に変更できませんでした。リクエスト内容が不正です
- `403` — 正常に変更できませんでした。権限がありません。
- `404` — 正常に変更できませんでした。指定したグループは存在しません。
- `409` — 正常に変更できませんでした。既に存在するグループ名です

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `editGroup` was added
- **2019-07-22** `d2f7470b1a57` — 1 warning
  - the `name` request property's maxLength was set to `30`
- **2019-07-05** `6956f2622a20` — 10 info
  - api operation id `editGroup` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added optional request body
  - …6 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/groups/:groupID/patch.md)

---

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