Delete Home Scene

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

Delete a scene of the specified home.

API address

DELETE: /v1.0/homes/{home_id}/scenes/{scene_id}

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueThe home ID.
scene_idStringuritrueThe scene ID.

Return parameter

Parameter nameTypeDescription
resultBooleanThe status of deleting a scene. Valid values:
  • true: The deletion operation succeeded.
  • false: The deletion operation failed.

Request example

DELETE: /v1.0/homes/242****/scenes/53IYS****

Return example

{
    "result": true,
    "t": 1541072348540,
    "success": true
}

Error code

For more information, see error code.