Cancel or Delete Video
A pending or in_progress job is cancelled and not billed; it answers with the job, now cancelled. A finished job is deleted with its video and answers {id, object, deleted}.
Cancelling stops billing at once. A render that has already started stops within about 10 seconds.
Path parameters
-
id string required
The video job's ID,
video_followed by 24 hex characters.
Responses
OK
application/json
The API key is missing, unknown or not active. Send it as Authorization: Bearer <key>.
application/json · error-payload
Not found
application/json · error-payload
The job changed state while being cancelled; try again
application/json · error-payload
curl -X DELETE https://api.vultrinference.com/v1/videos/{id} \
-H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"import os
import requests
response = requests.delete(
"https://api.vultrinference.com/v1/videos/{id}",
headers={"Authorization": f"Bearer {os.environ['VULTR_INFERENCE_API_KEY']}"},
)
print(response.json())const response = await fetch("https://api.vultrinference.com/v1/videos/{id}", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.VULTR_INFERENCE_API_KEY}`,
},
});
console.log(await response.json());Response · 200
{
"id": "video_3f2a9c1e7b4d5a6c8e0f1a2b",
"object": "video",
"model": "string",
"status": "pending",
"progress": 0,
"created_at": 1790000000,
"polling_url": "string"
}