Release a finished automation run
curl --request POST \
--url https://api.arg.ai/api/automation/cleanup/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/automation/cleanup/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/automation/cleanup/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Automations
Release a finished automation run
POST
/
api
/
automation
/
cleanup
/
{jobId}
Release a finished automation run
curl --request POST \
--url https://api.arg.ai/api/automation/cleanup/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/automation/cleanup/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/automation/cleanup/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}