---
title: "Update SCIM Group"
method: PUT
path: "/v1/directory-integration/scim/v2/Groups/{id}"
tags: ["Directory Integration"]
---

# Update SCIM Group

`PUT /v1/directory-integration/scim/v2/Groups/{id}`

## Request

- Base URL: `https://eu1.api.matillion.com/dpc`
- URL: `https://eu1.api.matillion.com/dpc/v1/directory-integration/scim/v2/Groups/{id}`
- Auth: HTTP bearer

Update a SCIM Group by ID

## Path parameters

- `id` string, required

## Request body

- ScimGroup
  - `displayName` string
  - `externalId` string
  - `id` string
  - `members` GroupMembership[]
    - `display` string
    - `ref` string
    - `type` 'USER' | 'GROUP'
    - `value` string
  - `meta` Meta, required
    - `created` string, date-time
    - `lastModified` string, date-time
    - `location` string
    - `resourceType` string
    - `version` string
  - `schemas` string[]

## Response `200`

Group updated successfully

- EnhancedScimGroup
  - `accountId` string: The unique identifier of the Matillion account this group belongs to
  - `accountName` string: The human-readable name of the Matillion account
  - `displayName` string
  - `environment` string: The unique identifier of the environment this group is associated with
  - `externalId` string
  - `id` string
  - `members` GroupMembership[]
    - `display` string
    - `ref` string
    - `type` 'USER' | 'GROUP'
    - `value` string
  - `meta` Meta, required
    - `created` string, date-time
    - `lastModified` string, date-time
    - `location` string
    - `resourceType` string
    - `version` string
  - `projectId` string, uuid: The unique identifier of the project this group is associated with
  - `projectName` string: The human-readable name of the project
  - `role` string: The role assigned to this group within the Matillion platform
  - `schemas` string[]

## Other responses

- `400`: Invalid request
- `403`: Unauthorized
- `404`: Group not found
- `500`: Unexpected error occurred

---

[API](https://skmtc.dev/maia/apis/maia-public-rest-api.md) - [All operations](https://skmtc.dev/maia/apis/maia-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maia/apis/maia-public-rest-api/revisions/6239825f68eb?raw)
