Services Restart
This operation restarts services on a client
- application/json
Request Body
- action integer
client object
services object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "",
"errorCode": 0
}
POST /services/action/restart
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Services/Action/Restart' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"action": 0,
"client": {
"clientName": "string"
},
"services": {
"allServices": true
}
}'