Skip to main content
POST
Upload a custom block

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

multipart/form-data
tar
file
required
type
enum<string>
required
Available options:
transform,
deploy,
dsp,
transferLearning
blockId
integer
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Job identifier. Status updates will include this identifier.

Example:

12873488112

error
string

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