Skip to main content

Delete a device

Delete a specific device by its id

Header Parameters
  • Authorization string required

    Token retrieved from the opensensemap API LogIn

Request Body required
  • id integer

    the id of the device to delete

  • sensor object[]

    array with the sensors connected to the device to delete

  • sensor integer

    the id of the sensor to disconnect

  • translationIds array

    array with all the translationIds to be deleted, that belong to the device

Responses

OK


Schema
  • info string

    info text that indicates if the deleting of the device was successfull