POST
/
api
/
organizations
/
{organizationId}
/
deploy
/
{deployId}
Update deploy block
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy/{deployId} \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'name=<string>' \
  --form 'dockerContainer=<string>' \
  --form 'description=<string>' \
  --form 'cliArguments=<string>' \
  --form requestsCpu=123 \
  --form requestsMemory=123 \
  --form limitsCpu=123 \
  --form limitsMemory=123 \
  --form 'integrateUrl=<string>' \
  --form privileged=true \
  --form mountLearnBlock=true \
  --form supportsEonCompiler=true \
  --form showOptimizations=true \
  --form category=library \
  --form sourceCodeDownloadStaffOnly=true \
  --form photo=@example-file
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

deployId
integer
required

Deploy block ID.

Body

multipart/form-data
name
string
dockerContainer
string
description
string
cliArguments
string
requestsCpu
number
requestsMemory
integer
limitsCpu
number
limitsMemory
integer
photo
file
integrateUrl
string
privileged
boolean
mountLearnBlock
boolean
supportsEonCompiler
boolean
showOptimizations
boolean
category
enum<string>
Available options:
library,
firmware
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)