---
title: "Update a group with the given id"
method: PUT
path: "/dashboards/{dashboard_id}/groups/{group_id}"
tags: ["Groups"]
---

# Update a group with the given id

`PUT /dashboards/{dashboard_id}/groups/{group_id}`

Updates a group's name.

## Path parameters

- `dashboard_id` integer, required
- `group_id` integer, required

## Request body

- PostGroupRequest
  - `name` string, required — Name of the group.
  - `notes` string — Any notes on this group.

## Response `200`

The group was updated.

- Group
  - `id` integer — The group identifier. This will appear in contacts indicating group membership.
  - `group_member_count` integer — Number of members of the group.
  - `is_keyword` boolean — If this group is a keyword group. Such groups are autogenerated when a user sets up a keyword. Contacts are automatically added when they enroll.
  - `name` string — Name of the group.
  - `notes` string — Any notes on this group.
  - `last_message_sent_utc` string, date-time — Last group message sent from here.

## Other responses

- `400` — Bad request. Sent if required properties are omitted or invalid.
- `401` — Unauthorized. Sent if the API key is omitted or invalid.

---

[API](https://skmtc.net/textrequest/apis/text-request-api-v3.md) · [All operations](https://skmtc.net/textrequest/apis/text-request-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textrequest/text-request-api-v3/revisions/e4e42efcd650/schema)
