# Modifies a group with a set of client-specified changes (partial update). Update one or more attributes of a SCIM resource using a sequence of operations to , , or values. The general form of the SCIM request is based on the JSON Patch approach. Find more at [RFC6902]. > : One difference between SCIM and JSON Patch is that SCIM servers do not support array indexing and do not support [RFC6902] operation types relating to array element manipulation, such as . The body of each request must contain the "schemas" attribute with the URI value of . The body of an HTTP request must contain the attribute whose value is an array of one or more operations. Each operation object must have exactly one member whose value indicates the operation to perform and may be one of the following: - - - . > : The semantics of each operation are defined in Section 3.5.2 of [RFC7644]. The attribute value is a containing an attribute path describing the target of the operation. The attribute is for and and is for operations. Each operation against an attribute must be compatible with the attribute's mutability and schema as defined in Sections 2.2 and 2.3 of [RFC7643]. For example, a client modify an attribute that has mutability or . However, a client may a value to an attribute if the attribute had no previous value. An operation that is not compatible with an attribute's mutability or schema will return the appropriate HTTP response status code and a JSON detail error response as defined in Section 3.12. Each operation represents a single action to be applied to the same SCIM resource specified by the request URI. Operations are applied sequentially in the order they appear in the array. Each operation in the sequence is applied to the target resource; the resulting resource becomes the target of the next operation. Evaluation continues until all operations are successfully applied or until an error condition is encountered. > : For multi-valued attributes, a operation that sets a value's sub-attribute to will cause the server to automatically set "primary" to "false" for any other values in the array. Endpoint: PATCH /scim/v2/Groups/{groupId} Version: latest Security: BearerAuth ## Path parameters: - `groupId` (string, required) The group ID. Example: "2819c223-7f76-453a-919d-413861904646" ## Request fields (application/json): - `schemas` (array, required) Example: ["urn:ietf:params:scim:api:messages:2.0:PatchOp"] - `Operations` (array, required) An array of one or more PATCH operations. Example: [{"op":"add","path":"members","value":[{"display":"Babs Jensen","ref":"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646","value":"2819c223-7f76-453a-919d-413861904646"}]}] - `Operations.op` (string, required) The operation to perform. Enum: "add", "replace", "remove" - `Operations.path` (string) The JSON Patch [RFC6902] describing the target of the operation. - `Operations.value` (any) The value to be added or replaced. ## Response 200 fields (application/json): - `schemas` (array, required) Example: ["urn:ietf:params:scim:schemas:core:2.0:Group"] - `id` (string) A unique identifier for a SCIM resource as defined by the service provider. Example: "2819c223-7f76-453a-919d-413861904646" - `externalId` (string) A String that is an identifier for the resource as defined by the provisioning client. - `displayName` (string, required) A human-readable name for the Group. Example: "Tour Guides" - `members` (array) A list of members of the Group. Example: [{"value":"92b725cd-9465-4e7d-8c16-01f8e146b87a","ref":"https://example.com/v2/Users/92b725cd-9465-4e7d-8c16-01f8e146b87a","type":"User"},{"value":"2819c223-7f76-453a-919d-413861904646","ref":"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646","type":"User"}] - `members.value` (string) Value of an "id" attribute of a SCIM resource - `members.$ref` (any) The URI of a SCIM resource such as a "User", or a "Group" - `resourceType` (string) The name of the resource type of the resource. - `created` (string) The "DateTime" that the resource was added to the service provider. - `lastModified` (string) The most recent DateTime that the details of this resource were updated at the service provider. - `location` (string) The URI of the resource being returned. - `version` (string) The version of the resource being returned.