If you wish to stop the processing of any medaID via API, send the action 'StopMedia.' The action will stop media from downloading, processing or uploading. If at least one encode has completed and saved, this media will be marked as finished,. The rest of the jobs / tasks will be stop.
Example:
<?xml version=”1.0″?>
<query>
<action>StopMedia</action>
<userid>[UserID]</userid>
<userkey>2a595f16aefdfbd1e3d7bf9952229bfa</userkey>
<mediaid>[MediaID]</mediaid>
</query>