Skip to content

Modify Default Configuration Status



POST /api/v1/incidents/level/config/set

Overview

Body Request Parameters

Parameter Name Type Required Description
isDisabled bool Y Whether to enable or disable. false: enable, true: disable
Example: True
Allow Empty: False

Parameter Supplementary Explanation

Request Example

curl 'https://openapi.truewatch.com/api/v1/incidents/level/config/set' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"isDisabled": false}'\
--compressed

Response

{
    "code": 200,
    "content": {
        "isDisabled": false
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-CDE3B645-7CE4-43E1-B06B-090F72A3902C"
}