Skip to main content

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

ParametersRequired / OptionalDescription
location={location}RequiredLocation from where to delete the backup. This can be one of the following value.
  • all. Deletes the backup from all locations (XClarity Administrator local repository and remote shares).

  • internal. Deletes the backup in the XClarity Administrator local repository.

  • <mount_point>. Deletes the backup from the remote share that is configured using the specified mount point.

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

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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.
403ForbiddenThe 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.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
  • warning. The request completed with a warning. A descriptive error message was returned.
messagesArray of objectsInformation about one or more messages
 idStringMessage identifier of a returned message
 textStringMessage text associated with the message identifier
 explanationStringAdditional information to clarify the reason for the message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
The following example is returned if the request is successful.
{
"result": "success",
"message": []
}