Skip to main content
Skip table of contents

API cookbook: uploadUpgrade

This API cookbook recipe describes how to use uploadUpgrade.

curl -s -X POST -k --data @- http://delphix.engine/resources/json/delphix/session -c ~/cookies.txt -H "Content-Type: application/json" <<EOF
"type": "APISession",
"version": {
"type": "APIVersion",
"major": 1,
"minor": 10,
"micro": 0

curl -s -X POST -k --data @- httpk --data @- http://delphix.engine/resources/json/delphix/login -b ~/cookies.txt -c ~/cookies.txt -H "Content-Type: application/json" <<EOF
"type": "LoginRequest",
"username": "sysadmin",
"password": "sysadmin"

curl -s -X POST -F file=@upgrade_image_path http://delphix.engine/resources/json/system/uploadUpgrade -b ~/cookies.txt
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.