Delete Tap-to-Run

Last Updated on : 2023-06-15 05:05:03

Delete a specified tap-to-run scene based on the tap-to-run ID.

API address

DELETE: /v2.0/iot-03/scenes/{scene_id}

Request parameter

Parameter name Type IN Required Description
scene_id String uri true The ID of a tap-to-run scene.

Return parameter

Parameter name Type Description
result Boolean The result of deletion. Valid values:
  • true: Deleted successfully.
  • false: Failed to delete.

Request example

DELETE: /v2.0/iot-03/scenes/mPa6lEmw4EKg****

Return example

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

Error code

For more information, see error code.