> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a SCIM group

> Fully replaces a SCIM group's display name and member list.

Required scopes: `user_management:read-write`.

<h4 style={{borderBottom:"none"}}>Authorizations</h4>

<ParamField header="Authorization" type="string" required>
  This API uses OAuth 2.0 with the authorization code grant flow.
</ParamField>

<h4 style={{borderBottom:"none"}}>Path</h4>

<ParamField path="workspace_team_id" type="string" required>
  The ID of the group to update.
</ParamField>

<div style={{display:"flex",justifyContent:"space-between",alignItems:"center"}}><h4 style={{borderBottom:"none",margin:"0"}}>Body</h4><span style={{fontSize:"0.75rem",fontWeight:"400",color:"#9ca3af"}}>application/json</span></div>

<ParamField body="schemas" type="string[]" required>
  Must include `"urn:ietf:params:scim:schemas:core:2.0:Group"`.
</ParamField>

<ParamField body="displayName" type="string" required>
  The new display name for the group. Must be non-empty after trimming whitespace. Must be unique within the workspace.
</ParamField>

<ParamField body="members" type="object[]" required>
  The complete new member list. This fully replaces the existing membership — members not included are removed.

  <Expandable title="members[]">
    <ParamField body="value" type="string" required>
      Workspace membership ID or workspace invite ID of the member.
    </ParamField>

    <ParamField body="$ref" type="string">
      URI reference for the member resource.
    </ParamField>

    <ParamField body="type" type="string">
      The type of the member resource.
    </ParamField>
  </Expandable>
</ParamField>

<h4 style={{borderBottom:"none"}}>Response</h4>

<ResponseField name="schemas" type="string[]">
  Always `["urn:ietf:params:scim:schemas:core:2.0:Group"]`.
</ResponseField>

<ResponseField name="id" type="string">
  The unique ID of the group.
</ResponseField>

<ResponseField name="displayName" type="string">
  The updated display name of the group.
</ResponseField>

<ResponseField name="members" type="object[]">
  The updated member list.

  <Expandable title="members[]">
    <ResponseField name="value" type="string">
      Workspace membership ID or workspace invite ID.
    </ResponseField>

    <ResponseField name="$ref" type="string">
      URI reference in the form `/scim/v2/Users/{id}`.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="meta" type="object">
  <Expandable title="meta">
    <ResponseField name="resourceType" type="string">
      Always `"Group"`.
    </ResponseField>

    <ResponseField name="created" type="string">
      ISO 8601 timestamp of when the group was created.
    </ResponseField>

    <ResponseField name="lastModified" type="string">
      ISO 8601 timestamp of when the group was last modified.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```json theme={"system"}
  {
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],
    "displayName": "Platform Engineering",
    "members": [{"value": "3a8f5b2c-9e14-4d7a-b832-1c6f85d90e47"}]
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"system"}
  {
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],
    "id": "b5d3f8a1-c920-47e6-8b4d-3f17a9c82e50",
    "displayName": "Platform Engineering",
    "members": [
      {
        "value": "3a8f5b2c-9e14-4d7a-b832-1c6f85d90e47",
        "$ref": "/scim/v2/Users/3a8f5b2c-9e14-4d7a-b832-1c6f85d90e47"
      }
    ],
    "meta": {
      "resourceType": "Group",
      "created": "2024-01-01T00:00:00.000Z",
      "lastModified": "2024-01-02T00:00:00.000Z"
    }
  }
  ```
</ResponseExample>
