Delete a Job
DELETE /jobs/ID
Authorization Header
- Bearer token: OAuth 2.0 API access token.
Semantics
The behavior of this call is different depending on the status of the Job: 1) In case the Job specified by ID is not yet done (so is in QUEUED or PROCESSING state), the job is cancelled and no output files will be produced. 2) If the Job was already performed (SUCCESS or FAILURE state), deleting the Job will delete also all meta-data and binary data for the output files that got created as part of the job. Note that this includes the output files' contents (unless the output files are externally hosted on your own storage).
Response
HTTP 200 - OK
Example:
DELETE /jobs/ID
curl -X DELETE -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" "https://api.xvid.com/v1/jobs/541db732e4b0eff926da9182?human=true" { "result": { "status": "SUCCESS" } }
Overview
Content Tools