Change rule status
- Print
- PDF
Change rule status
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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"
}
Category | Required status | Type | Restrictions | Description |
---|---|---|---|---|
ruleNameList | Yes | list<string> | List of rule names | |
status | Yes | string | {ENABLE | DISABLE} | Status to be changed to |
Response
Response body
{
"status": "string",
"body": null
}
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body | null |
Example
{
"status": "SUCCESS",
"body": null
}
Was this article helpful?