Cancel job
curl --request POST \
--url https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}Jobs
Cancel job
Cancel a running job.
POST
/
jobs
/
{id}
/
cancel
Cancel job
curl --request POST \
--url https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.renderjuice.com/api/external/v1/jobs/{id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}{
"message": "<string>",
"name": "<string>",
"details": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"type": "zod",
"metadata": {}
}Authorizations
API key authentication. Format: Bearer RJ-XXX.... Get your API key from the Renderjuice dashboard.
Path Parameters
Unique identifier (UUID) of the job Unique identifier of the job
Example:
"123e4567-e89b-12d3-a456-426614174000"
Response
Job cancelled.
Was this page helpful?
⌘I

