Deactivate scene

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

Used to deactivate the specified scene.

API address

PUT: /v1.0/homes/{home_id}/scenes/{scene_id}/actions/disable

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueFamily ID
scene_idStringuritrueScene ID

Return parameter

Parameter nameTypeDescription
resultBooleanScene deactivation status.
  • true: scene deactivation succeeded
  • false: scene deactivation failed

Request example

PUT: /v1.0/homes/242****/automations/53IYSxxxn2****/actions/disable

Return example

true

Error code

For more information, see error code.