Disable/Enable an SLO¶
POST /api/v1/slo/{slo_uuid}/set_disable
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
slo_uuid | string | Y | UUID of a specific SLO |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
isDisable | boolean | Y | Enable/disable, false: enable, true: disable Nullable: False |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/slo/monitor_xxxx32/set_disable' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data '{
"isDisable": false
}'