Upload a custom block

POST {{baseUrl}}/api/organizations/:organizationId/custom-block

Upload a zip file containing a custom transformation or deployment block.

Request Body

[{"name"=>"tar", "value"=>nil, "datatype"=>"null"}, {"name"=>"type", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"blockId", "value"=>"<integer>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}