Update user group
Updates the specified user group by applying a list of SCIM 2.0 patch operations. Use PATCH to add or remove individual members, or to rename the group, without affecting other attributes.
To replace the entire group resource (including the full membership list) in a single request, use the Replace user group endpoint.
Authorizations
Requires an Organization API Key. Personal Access Tokens (PATs) are not supported for this endpoint.
Include in the Authorization header as: Bearer ORGANIZATION_API_KEY
Path Parameters
The ID of the group to be updated
Body
The SCIM schema URIs for the request. Must include urn:ietf:params:scim:api:messages:2.0:PatchOp.
urn:ietf:params:scim:api:messages:2.0:PatchOp [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
]
The list of patch operations to apply to the group. Supported operations:
| Operation | Description |
|---|---|
add with path: "members" | Add one or more users to the group |
remove with path: 'members[value eq "{userId}"]' | Remove a single user from the group |
replace with path: "displayName" | Rename the group |
replace with path: "members" | Replace the entire membership list |
replace without a path | Replace top-level attributes (for example, displayName) |
1