Delete a device
Delete a specific device 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 device to delete
sensor object[]
array with the sensors connected to the device to delete
sensor integerthe id of the sensor to disconnect
- translationIds array
array with all the translationIds to be deleted, that belong to the device
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- info string
info text that indicates if the deleting of the device was successfull
{
"info": "string"
}