Delete Automation

Last Updated on : 2023-07-06 08:26:45download

Delete a specified automation based on the automation ID.

API address

DELETE: /v2.0/iot-03/automations/{automation_id}

Request parameter

Parameter nameTypeINRequiredDescription
automation_idStringuritrueThe ID of a specified automation.

Return parameter

Parameter nameTypeDescription
resultBooleanThe result of deletion.
  • true: Deleted successfully.
  • false: Failed to delete it.

Request example

DELETE: /v2.0/iot-03/automations/I4azPqb29H1d****

Return example

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

Error code

For more information, see error code.