POST
/
api
/
organizations
/
{organizationId}
/
dsp
/
{dspId}
Update dsp block
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dsp/{dspId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "dockerContainer": "<string>",
  "description": "<string>",
  "requestsCpu": 123,
  "requestsMemory": 123,
  "limitsCpu": 123,
  "limitsMemory": 123,
  "port": 123,
  "sourceCodeDownloadStaffOnly": true
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

dspId
integer
required

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

Body

application/json
name
string
dockerContainer
string
description
string
requestsCpu
number
requestsMemory
integer
limitsCpu
number
limitsMemory
integer
port
integer
sourceCodeDownloadStaffOnly
boolean

Whether the source code is only available for staff users.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

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