Disable/Enable Aggregation Generated Metrics¶
POST /api/v1/aggs_to_metric/set_disable
Overview¶
Enable or disable aggregation generated metrics rules
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
isDisable | boolean | Y | Set the enable status Allow null: False |
ruleUUIDs | array | Y | List of UUIDs for aggregation generated metrics Allow null: False |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/aggs_to_metric/set_disable' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"isDisable":false,"ruleUUIDs":["rul_xxxx"]}' \
--compressed