Update dsp block

Update dsp block

Updates a dsp block. Only values in the body will be updated.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dsp/{dspId}
Path parameters
organizationId*integer

Organization ID

dspId*integer

DSP Block ID, use the impulse functions to retrieve the ID

Body
namestring
dockerContainerstring
descriptionstring
requestsCpunumber
requestsMemoryinteger
limitsCpunumber
limitsMemoryinteger
portinteger
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/organizations/{organizationId}/dsp/{dspId}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated