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.

By default, an email is sent to each regular user member added and removed from the group. Federated user members do not get an email notification. The email templates for branding are at "notifications/user_management/group/{locale}/user_added_to_group_email.xml" and "notifications/user_management/group/{locale}/user_removed_from_group_email.xml". Pass in the themeId query parameter to brand the email templates for notifications.

The following example is a patch request to replace the group's displayName, remove a member, and add new members. Notice also that the example shows how you can specify the notifyType if you want to.
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" } ]}

Language
URL