"sku": "",

"state": "ACTIVE",

"uid": "com.geewiz", "vendor": "Gee Wiz, Inc.", "version": "2.0.0"

}

}

A.3.9 Removing a staged application

This curl request is used to remove a newly uploaded application before it is installed or upgraded. It has no output.

Form

curl [options] -H "X-Auth-Token:<token>" \

-X POST https://<controller_ip>:8443/dn/v2.0/apps/<app_id>/action \ -d cancel

Example

curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \

-X POST https://10.0.1.42:8443/sdn/v2.0/apps/com.geewiz/action \ -d cancel

A.3.10 Deleting an application

This curl request is used to shutdown and completely remove all application versions. It has no output.

Form

curl [options] -H "X-Auth-Token:<token>" \

-X DELETE https://<controller_ip>:8443/sdn/v2.0/apps/<app_id>

Example

curl -ksS -H "X-Auth-Token:3d61f0d3e61349359e6dbd82ec02c113" \ -X DELETE https://10.0.1.42:8443/sdn/v2.0/apps/com.geewiz

120 cURL commands