Clear Scheduled Tasks

Last Updated on : 2023-06-20 12:39:05

Clear all the scheduled tasks under the specified device.

API address

DELETE: /v2.0/cloud/timer/device/{device_id}

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringpathtrueThe device ID.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

DELETE: /v2.0/cloud/timer/device/6ccb7dc348af04ad*****

Return example

{
    "tid": "bd6ad6f3d1f311ed87a3525400d83734",
    "result": true,
    "t": 1680508033221,
    "success": true
}

Error code

For more information, see error code.