Cancel job
Cancels the job. If the job is already cancelled or failed, the method will do nothing.
PUT
/rest/api/backup-restore/jobs/{jobId}/cancelPath parameters
jobIdstringrequiredid of the backup/restore job
Responses
200
Returns a JSON representation of the cancelled job.
idinteger<int64>jobOperationstringAllowed:
BACKUPRESTOREjobScopestringAllowed:
SPACESITEjobStatestringAllowed:
QUEUEDPROCESSINGCOMPLETINGFINISHEDCANCELLINGCANCELLEDFAILEDcreateTimestring<date-time>startProcessingTimestring<date-time>finishProcessingTimestring<date-time>cancelTimestring<date-time>errorMessagestringownerstringcancelledBystringfileNamestringspaceKeysstringfileDeleteTimestring<date-time>fileExistsboolean404
Returned if job not found or user doesn't have permission to cancel it
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring