Partial update group

​

Partially updates a group using SCIM PATCH operations.

Authorization: Requires admin role.

Supported Operations:

  • Add/remove/replace members
  • Add/remove/replace roles
  • Update displayName

RFC Reference: RFC 7644 Section 3.5.2

Path Parameters

  • Group's SCIM ID

Body

required
application/json

Responses

  • application/scim+json
  • application/scim+json
  • application/scim+json
  • application/scim+json
Request Example for patch/v2/scim2/Groups/{groupId}
curl https://api.consentio.co/v2/scim2/Groups/grp_purchasing_team \
  --request PATCH \
  --header 'Content-Type: application/scim+json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "add",
      "path": "members",
      "value": [
        {
          "value": "usr_newuser123",
          "display": "New User"
        }
      ]
    }
  ]
}'
{
  "schemas": [
    "string"
  ],
  "id": "grp_abc123",
  "externalId": "idp-grp-123",
  "displayName": "string",
  "members": [
    {
      "value": "string",
      "display": "string",
      "ref": "https://example.com"
    }
  ],
  "roles": [
    "role_purchasing_manager"
  ],
  "meta": {
    "resourceType": "Group",
    "created": "2026-11-11T10:14:32.028Z",
    "lastModified": "2026-11-11T10:14:32.028Z",
    "location": "https://example.com"
  }
}