Update deploy block

Update deploy block

post

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

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

deployIdintegerRequired

Deploy block ID.

Body
namestringOptional
dockerContainerstringOptional
descriptionstringOptional
cliArgumentsstringOptional
requestsCpunumberOptional
requestsMemoryintegerOptional
limitsCpunumberOptional
limitsMemoryintegerOptional
photostring · binaryOptional
integrateUrlstringOptional
privilegedbooleanOptional
mountLearnBlockbooleanOptional
supportsEonCompilerbooleanOptional
showOptimizationsbooleanOptional
categorystring · enumOptionalPossible values:
sourceCodeDownloadStaffOnlybooleanOptional

Whether the source code is only available for staff users.

Responses
200
OK
application/json
post
POST /v1/api/organizations/{organizationId}/deploy/{deployId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 337

{
  "name": "text",
  "dockerContainer": "text",
  "description": "text",
  "cliArguments": "text",
  "requestsCpu": 1,
  "requestsMemory": 1,
  "limitsCpu": 1,
  "limitsMemory": 1,
  "photo": "binary",
  "integrateUrl": "text",
  "privileged": true,
  "mountLearnBlock": true,
  "supportsEonCompiler": true,
  "showOptimizations": true,
  "category": "library",
  "sourceCodeDownloadStaffOnly": true
}
200

OK

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

Last updated

Was this helpful?