User Group Properties - Adds User to User Group (Deprecated)
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
This operation updates the properties associated with a user group.
Path Parameters
- UserGroupId string required
- application/json
Request Body required
groups object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- User Group Properties - This request deletes a security association.
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/:usergroupid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/UserGroup/:UserGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"groups": [
{
"description": "string",
"enabled": true,
"usersOperationType": 0,
"userGroupEntity": {
"userGroupName": "string"
},
"users": [
{
"userName": "string"
}
]
}
]
}'