Skip to main content

Delete a unit

Delete a specific unit by its id

Header Parameters
  • Authorization string required

    Token retrieved from the opensensemap API LogIn

Request Body required
  • id integer

    the id of the unit to delete

  • sensorElement object[]

    array with the sensorElements connected to the unit to delete

  • sensorElementId integer

    the id of the sensorElement to delete the unit from

  • translationIds array

    array with all the ids of the translationItems to be deleted, that belong to the unit

Responses

OK


Schema
  • info string

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