---
title: "Update a Group"
method: PUT
path: "/groups/{id}"
tags: ["Groups"]
---

# Update a Group

`PUT /groups/{id}`

## Path parameters

- `id` string, required

## Request body

- GroupUpdateRequest — PATCH/PUT body for updating a Group. All fields are optional; omitted fields keep their current value.
  - `group` object, required
    - `name` string — Group Name

## Response `200`

Group Response

- GroupResponse — Response schema for single Group
  - `data` Group — Group
    - `directory_id` string, uuid, nullable — Directory ID this group belongs to
    - `email` string, nullable — Group email address for synced groups
    - `entity_type` 'group' | 'org_unit', required — Entity type
    - `id` string, uuid, required — Group ID
    - `idp_id` string, nullable — Identity provider ID for synced groups
    - `inserted_at` string, date-time, required — Creation timestamp
    - `name` string, required — Group Name
    - `synced_at` string, date-time, nullable — Last sync timestamp for synced groups
    - `updated_at` string, date-time, required — Last update timestamp

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content
- `429` — Too Many Requests

---

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