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

Body

application/json
userGroup
object
required

Response

A successful response.

userGroup
object
required