The CancelJob API cancels transcoding tasks. The API has the following restrictions:
Only tasks in “Submitted” state can be canceled.
We recommend that you first call the UpdatePipeline API to set the Media Transcoding queue status to Paused to stop task scheduling, and then call this API to cancel the tasks. After canceling the tasks, recover the Media Transcoding queue status to Active. In this way, tasks in the Media Transcoding queue can be scheduled and executed.
Required or not
API of the action, system required parameter. Set this parameter to CancelJob.