DELETE /managementServer/data/{uuid}
Use this method to delete a Lenovo XClarity Administrator backup from a specific location.
Authentication
Authentication with username and password is required.
Request URL
DELETE https://{management_server_IP}/managementServer/data/{uuid}
Where {uuid} is the UUID of the package to be downloaded. To obtain the package UUID, use the GET /managementServer/data method.
Query parameters
Parameters | Required / Optional | Description |
---|---|---|
location={location} | Required | Location from where to delete the backup. This can be one of the following value.
To obtain the list of locations where the package exists use the GET /managementServer/data method. |
The following example deletes the backup from only the XClarity Administrator local repository.
DELETE https://192.0.2.0/managementServer/data/4edf27ff-08d1-49b5-b7f3-7e8edc4fd278?
location=internal
The following example deletes the package only from the specified remote share.
DELETE https://192.0.2.0/managementServer/data/4edf27ff-08d1-49b5-b7f3-7e8edc4fd278?
location=/mnt/my_remote_share
Request body
None
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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
result | String | Results of the request. This can be one of the following values.
| ||
messages | Array of objects | Information about one or more messages | ||
id | String | Message identifier of a returned message | ||
text | String | Message text associated with the message identifier | ||
explanation | String | Additional information to clarify the reason for the message | ||
recovery | Array of objects | Recovery information | ||
text | String | User actions that can be taken to recover from the event | ||
URL | String | Link to the help system for more information, if available |
The following example is returned if the request is successful.
{
"result": "success",
"message": []
}
Give documentation feedback