This will try to delete job that is completed
curl --request DELETE \
--url https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"errors": [
{
"pointer": "/max_results",
"type": "invalid_value",
"detail": "max_results must be between 1 and 100."
}
],
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"errors": [
{
"pointer": "/max_results",
"type": "invalid_value",
"detail": "max_results must be between 1 and 100."
}
],
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}job
This will try to delete job that is completed
DELETE
/
{space_id}
/
workflows
/
{workflow_id}
/
jobs
/
{workflow_job_id}
This will try to delete job that is completed
curl --request DELETE \
--url https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.up.telestream.com/workflow/v1/{space_id}/workflows/{workflow_id}/jobs/{workflow_job_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"errors": [
{
"pointer": "/max_results",
"type": "invalid_value",
"detail": "max_results must be between 1 and 100."
}
],
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"errors": [
{
"pointer": "/max_results",
"type": "invalid_value",
"detail": "max_results must be between 1 and 100."
}
],
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}{
"title": "Not Found",
"status": 404,
"trace_id": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01",
"type": "about:blank",
"detail": "An unexpected error occurred",
"instance": "/workflow/v1/d290f1ee-6c54-4b01-90e6-d701748f0851/workflows"
}Authorizations
Static API key passed as a Bearer token in the Authorization header.
Each operation requires one of the scopes workflow:access,
workflow:workflow-management or workflow:admin (a hierarchy — admin implies
management implies access), declared per operation via the x-required-scope
extension. A key lacking the required scope receives 401 Unauthorized;
403 Forbidden indicates the organization's subscription is inactive.
Path Parameters
UP Space Id
Example:
"d290f1ee-6c54-4b01-90e6-d701748f0851"
Unique identifier of a Workflow
Example:
"e3c908ad-dc8f-4edb-88f7-c84dec0aef99"
workflow job id
Example:
"fe2ecbvw-8c9a-4d2b-9f0e-1a2b3c4d5e6f"
Response
Accepted
