Stop daemon job run
DELETE
/daemon-job-run/{id}
Response Body
argsRecord<string, any>
The arguments for the run, checked against the daemon job's args_schema and args_validation.
created_atstring · date-time
daemon_group_keystring
daemon_idstring · uuid
The daemon that runs it.
daemon_job_idstring · uuid
The daemon job this run belongs to.
environment_idstring · uuid
finished_atstring · date-time
idstring · uuid
The ID of the daemon job run.
started_atstring · date-time
statusstring
The run's status. A new run is created; your daemon process updates it.
Possible values:
createdrunningcompletedfailedstopped
updated_atstring · date-time
curl -X DELETE 'https://api.truto.one/daemon-job-run/{id}' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/daemon-job-run/{id}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/daemon-job-run/{id}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.delete(url, headers=headers, params=params)
print(response.json())