orchestrator
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Orchestrator API 指南
上次更新日期 2026年4月16日
处理数据保留策略请求
删除指定流程的保留策略
通过使用以下对 /odata/ReleaseRetention({key}) 端点的 DELETE 请求,您可以将指定流程的现有保留策略重置为默认的内置策略。
备注:
By calling the DELETE endpoint for processes that have the default migration policy in place (that is, 120 days + deletion), it replaces it with the built-in retention policy of 30 days +deletion.
API 端点
删除 {AutomationCloudURL}/{organizationName}/{tenantName}/orchestrator_/odata/ReleaseRetention({key})
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json' \
--header 'X-UIPATH-OrganizationUnitId: {the_ID_of_the_folder_that_contains_the_process}' \
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json' \
--header 'X-UIPATH-OrganizationUnitId: {the_ID_of_the_folder_that_contains_the_process}' \
路径参数
| 参数 | 数据类型 | 描述 |
|---|---|---|
key (必填) | 整数 64 | 要将特定保留策略重置为默认值的流程 ID。 |
响应
204 Success
将指定的流程策略重置为默认值(保留 30 天后删除)。
请求示例
假设您收集了构建 API 调用所需的所有信息。
{key}为:6789。这是要将特定保留策略重置为默认值的流程 ID。- The
X-UIPATH-OrganizationUnitIdrequest header value is202020. This is the ID of the folder that contains the process for which you want to reset the custom retention policy to default. Learn how to identify the folder ID.curl --location --request DELETE '{AutomationCloudURL}/{organizationName}/{tenantName}/orchestrator_/odata/ReleaseRetention(6789)' \ --header 'Authorization: Bearer 1234' \ --header 'Content-Type: application/json' \ --header 'X-UIPATH-OrganizationUnitId: 202020'curl --location --request DELETE '{AutomationCloudURL}/{organizationName}/{tenantName}/orchestrator_/odata/ReleaseRetention(6789)' \ --header 'Authorization: Bearer 1234' \ --header 'Content-Type: application/json' \ --header 'X-UIPATH-OrganizationUnitId: 202020'
成功的调用(响应代码 204)会将自定义策略重置为默认策略。
In the Orchestrator UI, the change is also visible in the Audit details of the corresponding process Update feature action.