Delete device

Delete device

Delete a device. When this device sends a new message to ingestion or connects to remote management the device will be recreated.

DELETEhttps://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId}
Path parameters
projectId*integer

Project ID

deviceId*string

Device ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated