Set Global Parameter
This operation sets a global parameter.
- application/json
Request Body
- name string required
Global Parameter name
- value string required
Value of the global parameter
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorCode integer
{
"errorCode": 0
}
{
"errorCode": 0
}
POST /setglobalparam
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/setGlobalParam' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"value": "string"
}'