Authorization: Bearer ********************{
"type": 1 //任务类型(1:向量化;2:生成;)
}curl --location --globoff --request PUT '{{Host}}/admin/api/workspace/default/knowledge/019c0dbf-778f-7e82-8a4c-c6f0c9b6c2f7/document/019cad21-1a1f-75d3-9572-ae4360a7978d/cancel_task' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": 1 //任务类型(1:向量化;2:生成;)
}'{}