document-understanding
2.2510
true
- 入门指南
- 使用 Document Understanding™ API 的示例
- 许可
- 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Document Understanding API 指南
上次更新日期 2026年4月6日
使用“删除 Data Service”服务
备注:
为了确保实现优化的控制,只有具有以下作用域的外部应用程序能访问此端点:Du.Deletion.Api。在进行身份验证之前,请务必将此作用域添加到您的应用程序。
You can use the DELETE API to remove all runtime data (excluding Monitor data) related to a given documentId.
通过此 API,您可以清理文档中的所有关联数据,无需等待自动到期时间。
删除文档数据
要发起对关联到文档的所有数据的删除操作,请使用以下调用:
DELETE /projects/{projectId}/document/{documentId}/
DELETE /projects/{projectId}/document/{documentId}/
备注:
Deletion operations are asynchronous, which means the update might not appear right away. Please allow a short time before confirming.
curl -X 'DELETE' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/document/<Document_ID>/api-version=1.1' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-d '{
"removeValidationDataFromStorage": true
}'
curl -X 'DELETE' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/document/<Document_ID>/api-version=1.1' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-d '{
"removeValidationDataFromStorage": true
}'
在进行删除调用时,您还可以使用以下可选输入参数:
removeValidationDataFromStorage: true or false (default)
removeValidationDataFromStorage: true or false (default)
removeValidationDataFromStorage 参数用于控制是否也会删除关联的存储桶文件:
- If set to true, the associated files from Orchestrator Storage Buckets are removed.
After the deletion call, a 202 Accepted response message is displayed.
确认删除
要确认删除,请使用以下调用:
GET /projects/{projectId}/digitization/result/{documentId}
GET /projects/{projectId}/digitization/result/{documentId}
curl -X 'GET' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/result/<Document_ID>?api-version=1.1' \
-H 'accept: text/plain'
curl -X 'GET' \
'https://cloud.uipath.com/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/result/<Document_ID>?api-version=1.1' \
-H 'accept: text/plain'
Once the deletion is complete, a 404 Not Found message is returned.