Enable Automation

Last Updated on : 2023-06-15 05:04:52

Enable a specified automation based on the automation ID.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
automation_idStringurifalseThe automation ID.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result. Valid values:
  • true: Enabled successfully.
  • false: Failed to enable it.

Request example

PUT: /v2.0/iot-03/automations/2EGETsjyCUqO****/enable

Error code

For more information, see error code.