DELETE /api/v1/customAlerts/rules/{id_list}
Use this method to delete one or more custom alert rules.
Note
This REST API requires Lenovo XClarity Orchestrator v1.3 or later.
Authentication
Authentication with username and password is required.
Resource URI
DELETE https://{management_server_IP>/api/v1/customAlerts/rules/{id_list}
where {id_list} is a list of custom alert rule IDs, separated by a comma. To obtain the alert rule IDs, use GET /api/v1/customAlerts/rules.
Query parameters
None
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. |
413 | Request Entity Too Large | Clients might impose limitations on the length of the request URI, and the request URI is too long to be handled. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
{message_attributes} | varies | Status messages (see Status messages) |
Give documentation feedback