Last Updated on : 2024-06-29 01:44:16download
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**
{
"ids": "abc1,abc2",
"is_enable": true
}
{
"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