Skip to content

Enable a Smart Inspection



POST /api/v1/self_built_checker/enable

Overview

Enable a user-defined inspection based on checker_uuid

Body Request Parameters

Parameter Name Type Required Description
ruleUUIDs array UUID of the user-defined inspection
Example: rul_xxxxx
Allow null: False
refKey string Associated key of the user-defined inspection
Example: xxx
Allow null: False

Additional Parameter Explanation

Request Example

curl 'https://openapi.guance.com/api/v1/self_built_checker/enable' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"ruleUUIDs":["rul_xxxx32","rul_xxxx32"]}' \
--compressed 

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-5191E0CC-076F-42D4-80C6-16A3FC9E0A09"
} 

Feedback

Is this page helpful? ×