---
title: "Update a Consumer Group"
method: PATCH
path: "/consumer_groups/{ConsumerGroupId}"
tags: ["Consumer Groups"]
---

# Update a Consumer Group

`PATCH /consumer_groups/{ConsumerGroupId}`

Update a Consumer Group

## Request body

- ConsumerGroup
  - `created_at` integer — Unix epoch when the resource was created.
  - `id` string, nullable
  - `name` string, required
  - `tags` string[]
  - `updated_at` integer — Unix epoch when the resource was last updated.

## Response `200`

Successfully updated Consumer Group

- ConsumerGroup
  - `created_at` integer — Unix epoch when the resource was created.
  - `id` string, nullable
  - `name` string, required
  - `tags` string[]
  - `updated_at` integer — Unix epoch when the resource was last updated.

## Other responses

- `401` — Unauthorized
- `404` — Resource does not exist

## Changes

> 4 revisions in range; 1 not diffed.

- **2024-11-26** `99e71588eb61` — 2 breaking, 4 info
  - the request property `name` became required
  - the response property `id` became nullable for the status `200`
  - the request optional property `id` became not read-only
  - the request property `id` became nullable
  - …2 more
- **2024-09-11** `5bd52189d290` — 1 warning
  - deleted the `path` request parameter `ConsumerGroupId`

[Change history](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/changes/consumer_groups/:ConsumerGroupId/patch.md)

---

[API](https://skmtc.dev/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/99e71588eb61/schema)
