---
title: "Replace Group"
method: PUT
path: "/scim/v2/Groups/{groupId}"
tags: ["SCIM 2.0"]
---

# Replace Group

`PUT /scim/v2/Groups/{groupId}`

## Request

- Base URL: `https://platform.hootsuite.com`
- URL: `https://platform.hootsuite.com/scim/v2/Groups/{groupId}`
- Auth: OAuth 2
  - Authorization code: `https://platform.hootsuite.com/oauth2/auth`
  - Token URL: `https://platform.hootsuite.com/oauth2/token`

Updates a Hootsuite team using the SCIM 2.0 protocol. For a complete example request, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.1)

## Path parameters

- `groupId` string, required

## Headers

- `Authorization` string, required

## Request body

- CreateReplaceScimGroup
  - `schemas` string[]: Required SCIM schemas
  - `displayName` string, required
  - `members` MemberRef[]
    - `value` string
    - `$ref` string
    - `display` string

## Response `200`

Success

- ScimGroup
  - `schemas` string[]: Required SCIM schemas
  - `id` string
  - `meta` object
    - `resourceType` string
    - `created` string
    - `lastModified` string
    - `location` string
  - `displayName` string
  - `members` MemberRef[]
    - `value` string
    - `$ref` string
    - `display` string

## Other responses

- `400`: Bad Request

---

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