Change CommServe hostname for servers
Select
Change CommServe hostname for list of servers
- application/json
Request Body
- oldCommServe string
Old CommServe hostname of the servers that needs to be changed
- newCommServe string
New CommServe hostname of the servers
servers object[]
- forceUpdateDatabase boolean
Update database even if servers are unreachable
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
PUT /v4/servers/commservehostname
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Servers/CommServeHostName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"oldCommServe": "string",
"newCommServe": "string",
"servers": [
{
"id": 0,
"name": "string"
}
],
"forceUpdateDatabase": true
}'