Hi,
Sample code to customize and add after creating session and login to the engine
curl -X POST -k --data @- ${BaseURL}/environment -b "${COOKIE}" -H "${CONTENT_TYPE}" <<EOF{ "type": "HostEnvironmentCreateParameters", "primaryUser": { "type": "EnvironmentUser", "name": "delphix", "credential": { "type": "PasswordCredential", "password": "delphix" } }, "hostEnvironment": { "type": "UnixHostEnvironment", "name": "Linux Host" }, "hostParameters": { "type": "UnixHostCreateParameters", "host": { "type": "UnixHost", "address": "172.16.160.133", "toolkitPath": "/var/opt/delphix/toolkit" } }}EOF
Regards,
Mouhssine