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
Parameters | Required / Optional | Description |
---|---|---|
key=removeMetadata | Optional | Identifies 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
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
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. |
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 | Result of the request. This can be one of the following values.
| ||
errorMsg | Object | Information about one or more messages | ||
messages | Array of objects | Message | ||
id | String | ID of a returned message | ||
text | String | Text associated with the message ID | ||
result | String | Results of the request . This can be one of the following values.
|
The following example is returned if the request is successful.
{
"result": "success",
"errorMsg": {
"messages": [{
"id": "FQXHMUP2508I",
"text": "The operation has started successfully."
}],
"result": "informational"
}
}
Give documentation feedback