Device.delete

Description

Deletes the device with the given uuid.

Request specification

  • Method: DELETE
  • URL: /devices/{uuid}

Example Request

  • Request URL: https://www.lhings.com/laas/api/v1/devices/11111111-2222-3333-4444-555555555555
  • Request headers: X-Api-Key: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
  • Request method: DELETE

Example Response

  • HTTP status: 200 OK
  • Response body:
    {"responseStatus":200,"message":"OK"}

Error summary

  • 200: success.
  • 401: Api key not provided or invalid.
  • 404: given uuid does not match any installed device.
Back to top