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 } } EOF 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" } EOF curl -s -X POST -F file=@upgrade_image_path http://delphix.engine/resources/json/system/uploadUpgrade -b ~/cookies.txt