Cancel Backup Job
Cancel the backup job.
Request
URLURL
Path Parameters
Path Parameters
ID (ID of job) The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
BackupJobStatus Structure
{
"messages": [
{
"args": [
"string"
],
"default_message": "string",
"id": "string"
}
],
"status": "FAIL"
}
The Job.ReturnStatus enumerated type defines the return type for the cancel operation. You specify the return status when you return the result of cancel job. See Job.ReturnResult.
FAIL : Cancel operation failed.
WARNING : Cancel operation passed with warnings.
OK : Cancel operation succeeded.
Possible values are: FAIL , WARNING , OK
Errors
com.vmware.vapi.std.errors.error : if any error occurs during the execution of 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/appliance/recovery/backup/job/{id}/cancel
x-vmw-doc-operation: cancel