Links

Delete Device

Delete a device. When this device sends a new message to ingestion or connects to remote management the device will be recreated.
delete
https://studio.edgeimpulse.com/v1
/api/{projectId}/device/{deviceId}
Delete device

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

Parameters
Path
projectId*
integer
Project ID
deviceId*
string
Device ID
Responses
200: OK
OK
cURL
Python
Node.js
curl --request DELETE \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId} \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("DELETE", "/v1/api/{projectId}/device/{deviceId}", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'DELETE',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId}',
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});