Skip to main content
PATCH
/
api
/
v2
/
user-groups
/
{userGroup.userGroupId}
UpdateUserGroup
curl --request PATCH \
  --url https://your-sift-api-url.com/api/v2/user-groups/{userGroup.userGroupId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userGroup": {
    "name": "<string>",
    "roleId": "<string>",
    "isDefault": true,
    "resources": {
      "assetIds": [
        "<string>"
      ],
      "allAssets": true
    },
    "userIds": [
      "<string>"
    ],
    "isExternal": true
  },
  "updateMask": "<string>"
}'
{
  "userGroup": {
    "userGroupId": "<string>",
    "name": "<string>",
    "roleId": "<string>",
    "isDefault": true,
    "resources": {
      "assetIds": [
        "<string>"
      ],
      "allAssets": true
    },
    "userIds": [
      "<string>"
    ],
    "isExternal": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userGroup.userGroupId
string
required

Body

application/json
userGroup
object
required
updateMask
string
required

The list of fields to update.

Response

A successful response.

userGroup
object
required