Cancels URL upload tasks in the queue.

Note You can cancel only URL upload tasks in the Pending state. Upload tasks that have already started cannot be canceled.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CancelUrlUploadJobs

The operation that you want to perform. Set the value to CancelUrlUploadJobs.

JobIds String No 341c92e6c18****dc435ee31253685,0193d395****194a83ad6ee2ef27a5b5

The IDs of the URL upload tasks that you want to cancel. Separate multiple task IDs with commas (,). You can query a maximum of 10 task IDs.

UploadUrls String No***/test1.mp4,***/test2.mp4

The upload URLs of source video files. Separate multiple URLs with commas (,). You can query a maximum of 10 URLs.

The URLs must be encoded.

Note You must specify a value for JobIds or UploadUrls. If you specify values for both the JobIds and UploadUrls parameters, only the value of the JobIds parameter takes effect.

Response parameters

Parameter Type Example Description
RequestId String 25818875-5F78-****-****-D7393642CA58

The ID of the request.

CanceledJobs Array of String 341c92e6c18****dc435ee31253685,0193d395****194a83ad6ee2ef27a5b5

The list of canceled tasks. The return value is JobId.

NonExists Array of String***/test1.mp4,***/test2.mp4

The list of job IDs or URLs that do not exist.

If you specified the parameter value for JobIds in the request, the return value is JobId. If you specified the parameter value for UploadURL in the request, the return value is URL.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "BA7C14EC-A175-****-A9E5-67C8850645F7",
  "CanceledJobs" : [ "341c92e6c18****dc435ee31253685" ],
  "NonExists" : [ "***/test2.mp4" ]

Error codes

For a list of error codes, visit the API Error Center.