Last Updated on : 2023-12-07 03:33:48
Update the status of a specified device timer task group.
PUT: /v1.0/devices/{devId}/timers/categories/{category}/groups/{group_id}/status
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| devId | String | uri | true | The device ID. |
| group_id | String | uri | true | The ID of a specified timer task group. |
| category | String | uri | true | The category of a specified timer task group. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| value | String | body | true | The status of a specified timer task. Valid values:0: Disable the timer task. 1: Enable the timer task. 2: Delete the timer task. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The returned result. |
PUT: /v1.0/devices/vdevo15445800464****/timers/categories/100/groups/000***2ftg/status
{
"value": "0"
}
{
"result": true,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback