Delete a unit
Delete a specific unit by its id
Header Parameters
- Authorization string required
Token retrieved from the opensensemap API LogIn
- application/json
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 integerthe 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
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- info string
info text that indicates if the deleting of the unit was successfull
{
"info": "string"
}