Delete Automation

Last Updated on : 2023-12-07 03:33:50download

Delete a specified automation scene of a home.

API address

DELETE: /v1.0/homes/{home_id}/automations/{automation_id}

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueThe home ID.
automation_idStringuritrueThe ID of a specified automation scene.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the deletion operation is successful. Valid values:
  • true: success.
  • false: failure.

Request example

DELETE: /v1.0/homes/242****/automations/53IYSXI3gEn2****
{}

Return example

true

Error code

For more information, see error code.