Skip to content

Disable



POST /api/v1/monitor/mute/{mute_uuid}/disable

Overview

Disable the mute rule in the current workspace.

Before Calling and Usage Steps

First confirm the target from the current workspace list, then disable it; after completion, query the rule and its actual effective status again.

Disabling sets the status of the matching rule to 2 and asynchronously synchronizes the execution cache, cancelling subsequent configured notifications. The time and original configuration are retained; messages that have already started executing are not guaranteed to be recalled. If no record is matched, true is still returned at present.

Route Parameters

Parameter Type Required Description
mute_uuid string Y Path UUID of the mute rule in the current workspace.
Example: mute_example
How to obtain or fill in: Obtain 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 fill in: Obtain an OpenAPI Key with the permission for this operation from API Key Management in the target workspace.

Request Example

curl --request POST 'https://openapi.guance.com/api/v1/monitor/mute/mute_example/disable' \
  -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; for the boundary between actual matching and asynchronous status, see the usage instructions.
{
  "code": 200,
  "content": true,
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Resolution
406 ft.ParameterValidationFailed A request field is missing, or a field value violates the declared validation conditions Parameter parsing failed Check the parameter location, field name, type, and value.
500 ft.InternalServerError Failed to save or submit asynchronous synchronization Internal error Query the rule status again, retry after confirming the result, and provide the traceId.

Feedback

Is this page helpful?