Modify Client Properties
This operation updates the properties associated with a client.
Path Parameters
- clientId integer required
The client ID of the client. If the client ID is not known, use the Get Client ID API to retrieve it
- application/json
Request Body
clientProperties object
association object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 1085,
"clientName": "vsaqa",
"_type_": 3
}
}
]
}
POST /client/:clientid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/client/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientProperties": {
"clientProps": {
"clientSecurity": {
"associatedUserGroups": [
{
"userGroupName": "string"
}
],
"ownerCapabilities": {}
},
"activityControl": {},
"clientActivityControl": {
"activityControlOptions": [
{}
]
}
},
"client": {
"displayName": "string",
"clientDescription": "string",
"installDirectory": "string",
"jobResulsDir": {
"path": "string",
"userAccount": {
"userName": "string"
}
},
"osInfo": {
"Type": "string",
"SubType": "string",
"Version": "string",
"OsDisplayInfo": {
"ProcessorType": "string",
"OSName": "string"
}
},
"clientEntity": {
"hostName": "string",
"clientName": "string",
"commCellName": "string"
},
"TimeZone": {
"TimeZoneName": "string"
}
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientName": "string"
}
]
}
}'