Delete Tap-to-Run

Last Updated on : 2023-07-06 08:27:29download

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 nameTypeINRequiredDescription
scene_idStringuritrueThe ID of a tap-to-run scene.

Return parameter

Parameter nameTypeDescription
resultBooleanThe 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.