---
title: "Patch a group"
method: PATCH
path: "/v2/groups/{group_id}"
tags: ["Groups"]
---

# Patch a group

`PATCH /v2/groups/{group_id}`

## Request

- Base URL: `https://api.byndid.com`
- URL: `https://api.byndid.com/v2/groups/{group_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/beyondidentity/apis/beyond-identity-secure-workforce-api/docs/v2/groups/:group_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

To update only specific attributes of an existing group, send a PATCH
request to `/v2/groups/$GROUP_ID`. Values in the request body for read-only
attributes get ignored. Fields omitted from the request body will be left
unchanged.

If the updated name of the group is already in use, you'll receive a 409
error.

Note that this endpoint does not support updates to permission groups. If
the request attempts to use the name of a permission group or attempts to
update a permission group, you'll receive a 403 error.

## Path parameters

- `group_id` string, required

## Request body

- object: Request for UpdateGroup.
  - `group` Group, required: A group is a collection of members within an organization that uses Beyond Identity.
    - `id` string: A unique identifier for the group within a tenant that is automatically generated on creation. This field is immutable and read-only.
    - `create_time` string, date-time: A time value in the ISO8601 combined date and time format that gets generated automatically and represents the time the group gets created. This field is immutable and read-only.
    - `update_time` string, date-time: A time value in the ISO8601 combined date and time format that gets generated automatically and represents the time the group gets updated. This field is read-only.
    - `tenant_id` string: A unique identifier for the group's tenant that is set automatically on creation. This field is immutable and read-only.
    - `name` string: A required unique name for the group within the tenant.
    - `description` string: A required description for the group within the tenant.
    - `source` string: The source that created the group. This field is immutable and read-only.

## Response `200`

The response is a JSON object containing standard group attributes.

- Group: A group is a collection of members within an organization that uses Beyond Identity.
  - `id` string: A unique identifier for the group within a tenant that is automatically generated on creation. This field is immutable and read-only.
  - `create_time` string, date-time: A time value in the ISO8601 combined date and time format that gets generated automatically and represents the time the group gets created. This field is immutable and read-only.
  - `update_time` string, date-time: A time value in the ISO8601 combined date and time format that gets generated automatically and represents the time the group gets updated. This field is read-only.
  - `tenant_id` string: A unique identifier for the group's tenant that is set automatically on creation. This field is immutable and read-only.
  - `name` string: A required unique name for the group within the tenant.
  - `description` string: A required description for the group within the tenant.
  - `source` string: The source that created the group. This field is immutable and read-only.

## Other responses

- `400`: Bad request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: The resource was not found.
- `409`: Conflict.
- `429`: Rate limit exceeded.
- `500`: Server error.

---

[API](https://skmtc.dev/beyondidentity/apis/beyond-identity-secure-workforce-api.md) - [All operations](https://skmtc.dev/beyondidentity/apis/beyond-identity-secure-workforce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/beyondidentity/apis/beyond-identity-secure-workforce-api/revisions/562e14b2e4ba?raw)
