删除/取消任务
删除或取消指定的评估任务,并清理相关资源
Path Parameters
task_idTask Id
Header Parameters
authorizationAuthorization
Bearer token (格式: 'Bearer ')
Response Body
curl -X DELETE "https://evaluate.phybench.cn/tasks/string" \ -H "authorization: string"{
"task_id": "task_12345abcde",
"message": "Task deleted successfully",
"deleted_at": "2024-01-01T12:10:00Z"
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}{
"details": {
"expected": "application/json",
"field": "file",
"received": "text/plain"
},
"error": "validation_error",
"message": "Invalid file format"
}