Cancel Import History
Cancels the task for importing vCenter historical data.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if vCenter historical data import task cannot be canceled at this state. This can happen in the following cases: - If historical data import has not been started yet because a not running task cannot be canceled - If historical data import has already been completed because a completed task cannot be canceled | com.vmware.vapi.std.errors.already_in_desired_state : if vCenter historical data import task is already canceled.
com.vmware.vapi.std.errors.unauthorized : if the caller is not authorized to perform the operation.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/vcenter/deployment/history?action=cancel
x-vmw-doc-operation: cancel