DELETE /osImages
Use this method to remove one or more OS images, OS image-profiles, and custom files (such as device drivers, boot files, configuration settings, installation scripts, software, and unattend files) from the Lenovo XClarity Administrator OS images repository.
Authentication
Authentication with username and password is required.
Request URL
DELETE https://{management_server_IP}/osImages
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
selectedFilesList | Required | String | List of one or more IDs, separated by a comma, for OS images, OS image profile, and custom files such as device drivers, boot files, configuration settings, installation scripts, software, and unattend files To obtain the image IDs, use GET /osImages. Note
|
{
"selectedFilesList": "other-amdchipset-ccp-win2022,other-amdchipset-amddrtm-win2022"
}
Response codes
Code | Description | Comments |
---|---|---|
204 | No Content | The request completed successfully, but no response content is returned. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. 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. |
412 | Precondition failed | Specified data is invalid because of missing values. 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