UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip codedapp delete

Syntax and options for `uip codedapp delete`, which removes a deployed coded app from an Orchestrator folder.

uip codedapp delete removes a deployed coded app from a folder. It finds the app by the display name shown on the folder's Apps tab in Orchestrator. The published package and deployments of the same app in other folders are not affected.

The operation cannot be undone, so the command requires --yes and never prompts. Without --yes, it fails with Confirmation required and makes no change.

大纲​

uip codedapp delete --display-name <name> --yes [options]
uip codedapp delete --display-name <name> --yes [options]

选项​

标记描述
--display-name <name>Required. Deploy-time display name of the app, as shown on the folder's Apps tab. Case-sensitive; matches the --display-name passed to uip codedapp deploy.
--folder-key <key>Key of the folder that holds the deployed app. Falls back to UIPATH_FOLDER_KEY.
-y, --yesConfirm the irreversible operation. Required.
--base-url <url>UiPath 基本 URL(身份验证覆盖)。
--org-id <id>组织 ID(身份验证覆盖)。
--org-name <name>组织名称(身份验证覆盖)。
--tenant-id <id>租户 ID(身份验证覆盖)。
--access-token <token>访问令牌(身份验证覆盖)。

示例​

uip codedapp delete --display-name "My App" \
    --folder-key f0f0f0f0-0000-0000-0000-000000000001 --yes
uip codedapp delete --display-name "My App" \
    --folder-key f0f0f0f0-0000-0000-0000-000000000001 --yes

数据形状(--输出 json)​

{
  "Code": "DeployedAppDeleted",
  "Data": {
    "DeletedAppId": "6f1c2b4a-0000-0000-0000-000000000001",
    "DisplayName": "My App",
    "SystemName": "my-app_abc123"
  }
}
{
  "Code": "DeployedAppDeleted",
  "Data": {
    "DeletedAppId": "6f1c2b4a-0000-0000-0000-000000000001",
    "DisplayName": "My App",
    "SystemName": "my-app_abc123"
  }
}

After the app is removed, the app URL can still resolve for a short time. When the CLI cannot confirm that the routing cache was cleared, it prints a warning on stderr.

故障模式​

ErrorCode原因
not_foundNo deployed app in the folder has that exact display name. Copy the display name from the folder's Apps tab (case matters), or pass a different --folder-key.
permission_deniedThe account lacks Apps.Write on the folder. Grant it, or pass a --folder-key for a folder the account can manage.
authentication_requiredThe session is invalid or expired. Run uip login.

Missing connection settings fail before any request is sent. Run uip login, or pass --base-url, --org-id, --tenant-id, --folder-key, and --access-token.

另请参阅​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新