document-understanding
latest
false
  • 入门指南
    • 概述
    • 限制和配额
  • 使用 Document Understanding™ Cloud API 的示例
  • 许可
  • 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Document Understanding API 指南

上次更新日期 2025年10月24日

使用“删除 Data Service”服务

Note: To ensure improved control, only External Applications with the following scope can access this endpoint: Du.Deletion.Api. Make sure to add this scope to your application before authenticating.

You can use the DELETE API to remove all runtime data (excluding Monitor data) related to a given documentId.

This API allows you to clean up all associated data from a document without waiting for the automatic expiration.

Deleting document data

要发起对关联到文档的所有数据的删除操作,请使用以下调用:

DELETE /projects/{projectId}/document/{documentId}/DELETE /projects/{projectId}/document/{documentId}/
Note: 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)
The removeValidationDataFromStorage parameter controls whether the associated storage bucket files are also deleted:
  • If set to true, the associated files from Orchestrator Storage Buckets are removed.

After the deletion call, a 202 Accepted response message is displayed.

Confirming deletion

To confirm the deletion, use the following call:

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.

  • Deleting document data
  • Confirming deletion

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。