This API is used to modify a group's attributes. It can be used to update one or more attributes.

Entitlement required: manageUserGroups (Manage users and groups) or manageAllUserGroups (Synchronize users and groups) or manageUserStandardGroups (Manage users and standard groups).

Note: You only need one entitlement, but you can have more than one.

Restrictions per request: Up to 1,000 patch operations are allowed. The total number of "values" specified cannot exceed 1,000.

Limitations: If the group being patched has over 9,000 members, the "replace" operation on the "members" attribute is not supported and only the "eq" operator is allowed in the selection filter.

An example patch request to replace the group's displayName, remove a member, and add new members is below. Notice also that the example shows how specify the notifyType if desired.
NotifyType is an optional attribute that denotes the notification type. If not present, the EMAIL notification is used.Specify NONE if no notification to affected users is required.

{ "schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations": [ { "op": "replace", "path": "displayName", "value": "New Group Name" }, { "op": "remove", "path": "members[value eq "50JFP28VS4"]" }, { "op": "add", "path": "members", "value": [ { "type": "user", "value": "50RJ493GRW" }, { "type": "user", "value": "50G6E672MU" } ] }, { "op": "add", "path": "urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification:notifyType", "value": "EMAIL" } ]}