Last updated 8 days ago
Was this helpful?
Run a job
/jobs/{jobId}/run
The id associated with your job.
Job execution preferences.
curl -L \ --request POST \ --url 'https://api.bytenite.com/v1/customer/jobs/{jobId}/run' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "config": { "taskTimeout": 1, "jobTimeout": 1, "isTestJob": true } }'
{ "ok": true, "requestId": "text", "message": "text", "error": { "code": 1, "message": "text", "description": "text" } }
Abort running job (an incomplete job that is yet to start will be deleted)
/jobs/{jobId}/abort
curl -L \ --request POST \ --url 'https://api.bytenite.com/v1/customer/jobs/{jobId}/abort' \ --header 'Authorization: YOUR_API_KEY'
Delete a job
/jobs/{jobId}
curl -L \ --request DELETE \ --url 'https://api.bytenite.com/v1/customer/jobs/{jobId}' \ --header 'Authorization: YOUR_API_KEY'