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

# Modify Group

`PATCH /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`

Modify one or more attributes of a Hootsuite team. For a complete example request, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).

## Path parameters

- `groupId` string, required

## Headers

- `Authorization` string, required

## Request body

- ScimPatchGroup
  - `schemas` string[]: Must contain the URI value of "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  - `Operations` ScimPatchGroupOperation[]
    - `op` string: The operation to perform: can be `add`, `replace` or `remove`
    - `value` object: New value to set for attribute

## 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)
