Delete an agent task (ai.manage and organisation admin)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/ai-tasks/{task_id} \
--header 'Authorization: Bearer <token>'AI Management
Delete an agent task (ai.manage and organisation admin)
DELETE
/
api
/
v1
/
org
/
ai-tasks
/
{task_id}
Delete an agent task (ai.manage and organisation admin)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/ai-tasks/{task_id} \
--header 'Authorization: Bearer <token>'