Delete Scheduled Task

Last Updated on : 2023-06-20 14:54:02download

Delete a scheduled task based on the scheduled task ID. If the scheduled task ID is not entered, all the scheduled tasks under this remote control will be deleted.

API address

DELETE: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}/timers

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
remote_id String uri true The sub-device ID.
timer_id Long query false The ID of a scheduled task.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

DELETE: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55/timers?timer_id=1111

Return example

{ "result": true, "t": 1631239134759, "success": true }

Error code

For more information, see error code.