---
title: "Patch SCIM Group"
method: PATCH
path: "/scim/Groups/{id}"
tags: ["scim"]
---

# Patch SCIM Group

`PATCH /scim/Groups/{id}`

## Request

- Base URL: `https://public.stonly.com/api/v3`
- URL: `https://public.stonly.com/api/v3/scim/Groups/{id}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

## Request body

- ScimPatchOp
  - `schemas` string[], required
  - `Operations` ScimOperation[], required
    - `op` 'add' | 'remove' | 'replace' | 'Add' | 'Remove' | 'Replace', required
    - `path` string
    - `value` unknown

## Response `200`

SCIM Group resource after patch.

- ScimGroup
  - `schemas` string[], required
  - `id` string
  - `externalId` string
  - `displayName` string, required
  - `members` ScimGroupMember[]
    - `value` string, required
    - `display` string
    - `type` string
    - `$ref` string
  - `meta` object

## Other responses

- `default`: SCIM 2.0 error envelope (RFC 7644 §3.12). Uses application/scim+json with the SCIM Error schema URN, status as a string, optional scimType for the specific error class.

---

[API](https://skmtc.dev/stonly/apis/stonly-public-api.md) - [All operations](https://skmtc.dev/stonly/apis/stonly-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stonly/apis/stonly-public-api/revisions/4ba5b03a634a?raw)
