Last Updated on : 2024-09-10 01:49:16
Enable or disable the specified automation rule.
PUT: /v2.0/cloud/scene/rule/state
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | query | false | The ID of the specified space. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
ids | String | body | true | The IDs of the specified linkage rules. |
is_enable | Boolean | body | true | Specifies whether to enable the specified linkage rule. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
PUT: /v2.0/cloud/scene/rule/state?space_id=53IYS**
{
"tid": "****",
"result": true,
"t": 1677741828415,
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback