Delete a task.
Raises: NotFoundError: If task not found or belongs to another organization.
curl --request DELETE \
--url https://api.example.com/agents/tasks/{task_id}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Successful Response
curl --request DELETE \
--url https://api.example.com/agents/tasks/{task_id}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}