This API has a deprecated equivalent from v7.0U1.
Cancel Upgrade
Cancel the appliance upgrade that is in progress.
Request
URLURL
https://{api_host}/api/vcenter/deployment/upgrade?action=cancel
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/deployment/upgrade?action=cancel
Errors
400
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is not in CONFIG_IN_PROGRESS state and if the operation is not INSTALL.