Create Client Group (Deprecated)
Select
SaaS
Customer Managed
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
This operation creates a client computer group.
- application/json
Request Body
- clientGroupOperationType integer
clientGroupDetail object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Smart Client Group - Clients discovered using V S A Subclient
Schema
clientGroupDetail object
{
"clientGroupDetail": {
"clientGroup": {
"_type_": 0,
"clientGroupId": 0,
"clientGroupName": "string"
}
}
}
{
"clientGroupDetail": {
"clientGroup": {
"_type_": 28,
"clientGroupId": 18,
"clientGroupName": "VSA"
}
}
}
POST /clientgroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ClientGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientGroupOperationType": 0,
"clientGroupDetail": {
"associatedClientsOperationType": 0,
"isSmartClientGroup": true,
"isDiscoveredClientGroup": true,
"scgRule": {},
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"discoverRulesInfo": {
"virtualInstanceType": 0,
"associationRule": {
"children": [
{
"equalsOrNotEquals": true,
"path": "string",
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0
}
]
},
"virtualClients": {
"clients": [
{
"clientId": 0
}
]
}
}
}
}'