Delete Automation

Last Updated on : 2022-11-08 10:30:15Copy for LLMView as MarkdownDownload PDF

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.