Enable Automation

Last Updated on : 2023-07-06 08:27:16download

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.