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.
- application/json
Request Body
groups object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Create an User Group
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorString": "string",
"errorCode": 0,
"entity": {
"userGroupName": "string",
"userGroupId": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorString": "Successful",
"errorCode": 0,
"entity": {
"userGroupName": "Testgroup",
"userGroupId": 9
}
}
]
}
POST /usergroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'