Skip to main content

Change CommServe hostname for servers

Select

SaaS
Customer Managed

Change CommServe hostname for list of servers

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[]

    List of servers that need CommServe hostname change

  • id int32
  • name string
  • forceUpdateDatabase boolean

    Update database even if servers are unreachable

Responses

Success


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

PUT /v4/servers/commservehostname    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"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
}'