Skip to main content

DELETE /managementServer/updates/{fix_id_list}

Use this method to delete update packages and metadata from the management-server updates repository.

Authentication

Authentication with username and password is required.

Request URL

DELETE https://{management_server_IP}/managementServer/updates/
{fix_id_list}

Where {fix_id_list} is the ID of one or more update packages, separated b y a comma. You can specify one or more IDs, separated by a comma. To obtain the update UUID, use the GET /chassis method.

Query parameters

ParametersRequired / OptionalDescription
key=removeMetadataOptionalIdentifies whether to delete the management-server update package and metadata

If not specified, the update packages are deleted and the metadata is not deleted.

The following example deletes a specific management-server update package but not the metadata.
DELETE https://192.0.2.0/managementServer/updates/lnvgy_sw_lxca_cmmswitchrepo1-1.1.0_anyos_noarch
The following example deletes a specific management-server update package and the associated metadata.
DELETE https://192.0.2.0/managementServer/updates/lnvgy_sw_lxca_cmmswitchrepo1-1.1.0_anyos_noarch
?key=removeMetadata

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. 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
resultStringResult 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.

errorMsgObjectInformation about one or more messages
 messagesArray of objectsMessage
  idStringID of a returned message
  textStringText associated with the message ID
 resultStringResults of the request . This can be one of the following values.
  • success. The request completed successfully.

  • failure. The request failed. A descriptive error message is returned.

The following example is returned if the request is successful.
{ 
"result": "success",
"errorMsg": {
"messages": [{
"id": "FQXHMUP2508I",
"text": "The operation has started successfully."
}],
"result": "informational"
}
}