Disable Automation

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

Disable a specified automation based on the automation ID.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
automation_idStringurifalseThe automation ID.

Return parameter

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

Request example

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

Error code

For more information, see error code.