Retire Servers of a Server group
Select
SaaS
Customer Managed
Retire servers in given server group
Path Parameters
- serverGroupId int32 required
Id of the serverGroup in which servers need to be retired
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- jobId int64
error object
{
"jobId": 0,
"error": {
"errorCode": 0,
"errorMessage": "string",
"warningCode": 0,
"warningMessage": "string"
}
}
Requested details not found
Internal Server Error
PUT /v4/servergroup/:servergroupid/retire
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/ServerGroup/:serverGroupId/Retire' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'