Clear DSP Block
Clear generated features for a DSP block (used in tests).
post
https://studio.edgeimpulse.com/v1
/api/{projectId}/dsp/{dspId}/clear
Clear DSP block
Clear generated features for a DSP block (used in tests).
Parameters
Path
projectId*
integer
Project ID
dspId*
integer
DSP Block ID, use the impulse functions to retrieve the ID
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/clear \
--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("POST", "/v1/api/{projectId}/dsp/{dspId}/clear", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'POST',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/clear',
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Last modified 3mo ago