Enable/Disable Index Configuration¶
POST /api/v1/log_index_cfg/{cfg_uuid}/set_disable
Overview¶
Enable/Disable Default Storage Index Configuration
Route Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| cfg_uuid | string | Y | Configuration uuid |
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| isDisable | boolean | Y | Whether to disable Allowed to be empty: True |
Parameter Additional Explanation¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/log_index_cfg/lgim_xxxx32/set_disable' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"isDisable":true}' \
--compressed