Cancel a running job
June 3, 2025 (March 9, 2026)
LTX Studio API has been retired due to low demand. If you are interested in using it, this API can be easily resurrected — please contact [email protected] with your request.
Table of contents
This endpoint cancels a running API job from being tracked by the scheduler. The job will still be executed by LTX Studio, but the API will no longer track its progress.
https://api.useapi.net/v1/ltxstudio/scheduler/
jobId
The jobId value should be a job identifier that you want to cancel. You can get it from GET /scheduler.
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Responses
-
Job was successfully canceled.
-
{ "error": "Unauthorized", "code": 401 } -
{ "error": "Unable to locate running jobId email:[email protected]:7a34b821-9fd0-205e-d21b-4abc6f7839e7-type:image", "code": 404 }
Examples
-
curl -X DELETE "https://api.useapi.net/v1/ltxstudio/scheduler/email:[email protected]:7a34b821-9fd0-205e-d21b-4abc6f7839e7-type:image" \ -H "Accept: application/json" \ -H "Authorization: Bearer …" -
const token = "API token"; const jobId = "email:[email protected]:7a34b821-9fd0-205e-d21b-4abc6f7839e7-type:image"; const apiUrl = `https://api.useapi.net/v1/ltxstudio/scheduler/${encodeURIComponent(jobId)}`; const response = await fetch(apiUrl, { method: "DELETE", headers: { "Authorization": `Bearer ${token}`, }, }); console.log("response", {status: response.status, statusText: response.statusText}); -
import requests import urllib.parse token = "API token" job_id = "email:[email protected]:7a34b821-9fd0-205e-d21b-4abc6f7839e7-type:image" apiUrl = f"https://api.useapi.net/v1/ltxstudio/scheduler/{urllib.parse.quote(job_id, safe='')}" headers = { "Authorization" : f"Bearer {token}" } response = requests.delete(apiUrl, headers=headers) print(response.status_code, response.reason)