Deleting Tasks in Batches
Function
Document parsing API, batch task deletion
URI
DELETE /v1/koosearch/doc-search/tasks
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
task_ids |
Yes |
Array of strings |
ID of the task to be deleted |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total |
Integer |
Number of records to be deleted |
deleted |
Integer |
Number of deleted records |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
|
error_msg |
String |
Error description |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
|
error_msg |
String |
Error description |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
|
error_msg |
String |
Error description |
Example Requests
None
Example Responses
Status code: 200
Task deletion result
{ "total" : 2, "deleted" : 1 }
Status Codes
Status Code |
Description |
---|---|
200 |
Task deletion result |
400 |
Invalid request parameters |
401 |
Authentication error |
500 |
Internal error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot