beta.admin.user-groups

Update User Group

Changed on

Update User Group

patch/v1/admin/user-groups/{group_uuid}

Request

Path parameters

group_uuidstring uuid required

Request body

namestring nullable

Updated name of the user group.

descriptionstring nullable

Updated description of the user group. Pass an empty string to clear it; omit the field or pass null to leave it unchanged.

parent_group_idsstring[] nullable

Full replacement list of parent group UUIDs. Pass an empty list to remove all parents; omit the field to leave the parent groups unchanged.

Example request

{
  "name": "Engineering Team",
  "description": "Members of the platform engineering team",
  "parent_group_ids": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  ]
}

Response

OK

uuidstring uuid required

User group ID.

namestring required

Name of the user group.

descriptionstring nullable required

Optional description of the user group.

externally_managedboolean nullable

Whether the group is managed by an external system.

organization_rolestring nullable

Organization role assigned to the group.

parent_group_idsstring[]

UUIDs of the groups this group is directly nested inside.

Example response

{
  "name": "Engineering Team",
  "description": "Members of the platform engineering team",
  "parent_group_ids": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  ]
}

Changes

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status