POST /profiles/{id}
Use this method to activate a profile on a target system by assigning an inactive server profile to a target server or redeploying a server profile that is active, pending, or failed activation.
Authentication
Authentication with username and password is required.
Request URL
POST https://{management_server_IP}/profiles/{id}
where {id} is the unique ID of the server profile that was assigned when the server pattern was deployed. To obtain the server profile ID, use the GET /profiles method.
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description |
---|---|---|---|
restart | Required | String | Indicates when to restart the server to activate the profile. This can be one of the following values.
|
uuid | Required if the server profile is inactive (not assigned); otherwise, optional | String | For a rack or tower server, this is the UUID of the target server. For a Flex System server, this is the location ID of the target server. Important An |
The following example activates a profile on the target system and restart the server to activate the profile.
{
"restart": "defer",
"uuid": "1B54B9AEFCE04D5E820C0B6310D03590_bay3"
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request. For XClarity Administrator advanced functions, ensure that you have active licenses for each managed server that supports the advanced functions. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback