Delete¶
POST /api/v1/monitor/mute/{mute_uuid}/delete
Overview¶
Delete the mute rule in the current workspace.
Before Calling and Usage Steps¶
First confirm the target from the current workspace list, then delete it. After completion, query the rule and actual effective status again.
This operation soft-deletes the mute rule and asynchronously cleans up subsequent configuration notifications and execution caches; it does not delete historical events or monitoring data. If no matching record exists, it still returns true, which does not mean that the UUID ever existed.
After deletion returns true, the rule is no longer provided in the list; actual cache synchronization has asynchronous latency, and messages that have been sent or are being executed are not guaranteed to be recalled.
Route Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| mute_uuid | string | Y | Path UUID of the mute rule in the current workspace. Example: mute_exampleHow to obtain or enter: Obtain it from content.data[].uuid in the mute rule list. |
Request Headers¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Y | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with the required operation permissions from API Key Management in the target workspace. |
Request Example¶
curl --request POST 'https://openapi.guance.com/api/v1/monitor/mute/mute_example/delete' \
-H 'DF-API-KEY: <DF-API-KEY>'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content | boolean | true on success; see the usage notes for the boundary between actual matching and asynchronous status. |
{
"code": 200,
"content": true,
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
See Common Error Definitions for authentication, rate limiting, and common request errors.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Resolution |
|---|---|---|---|---|
| 406 | ft.ParameterValidationFailed | A request field is missing, or the field value violates the declared validation condition | Parameter parsing failed | Check the parameter location, field name, type, and value. |
| 500 | ft.InternalServerError | Failed to save the deletion or submit the synchronization task | Internal error | First re-read the list to confirm the result; if the failure persists, provide the traceId. |