Skip to main content

Create an User Group (Deprecated)

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

This operation creates a user group.

More Details

Request Body
  • groups object[]
  • description string
  • enabled boolean
  • securityAssociations object
  • associationsOperationType integer
  • associations object[]
  • entities object
  • entity object[]
  • clientName string
  • properties object
  • role object
  • roleName string
  • userGroupEntity object
  • userGroupName string
  • users object[]
  • userName string
Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object[]
  • errorString string
  • errorCode integer
  • entity object
  • userGroupName string
  • userGroupId integer
POST /usergroup    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"groups": [
{
"description": "string",
"enabled": true,
"securityAssociations": {
"associationsOperationType": 0,
"associations": [
{
"entities": {
"entity": [
{
"clientName": "string"
}
]
},
"properties": {
"role": {
"roleName": "string"
}
}
}
]
},
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"securityAssociations": {
"associationsOperationType": 0,
"associations": [
{
"entities": {
"entity": [
{
"clientName": "string"
}
]
},
"properties": {
"role": {
"roleName": "string"
}
}
}
]
},
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'