Update dsp block

Update dsp block

post

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

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

dspIdintegerRequired

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

Body
namestringOptional
dockerContainerstringOptional
descriptionstringOptional
requestsCpunumberOptional
requestsMemoryintegerOptional
limitsCpunumberOptional
limitsMemoryintegerOptional
portintegerOptional
sourceCodeDownloadStaffOnlybooleanOptional

Whether the source code is only available for staff users.

Responses
200
OK
application/json
post
POST /v1/api/organizations/{organizationId}/dsp/{dspId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 171

{
  "name": "text",
  "dockerContainer": "text",
  "description": "text",
  "requestsCpu": 1,
  "requestsMemory": 1,
  "limitsCpu": 1,
  "limitsMemory": 1,
  "port": 1,
  "sourceCodeDownloadStaffOnly": true
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?