Change rule status
    • PDF

    Change rule status

    • PDF

    Article Summary

    Summary

    Changes the status of a rule.

    Rule status may be set as ENABLE or DISABLE

    Request

    Request URL

    PUT {CLOUD_IOT_CORE_API_URL}/rules
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Request body

    {
       "ruleNameList" : "list<string>",
       "status" : "string"
    }
    
    CategoryRequired statusTypeRestrictionsDescription
    ruleNameListYeslist<string>List of rule names
    statusYesstring{ENABLE | DISABLE}Status to be changed to

    Response

    Response body

    {
        "status": "string",
        "body": null
    }
    
    CategoryTypeDescription
    statusstringIndicates whether response was successful
    bodynull

    Example

    {
        "status": "SUCCESS",
        "body": null
    }
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.