- 入门指南
- 身份验证
- 作用域和权限
- 平台管理 API

Automation Cloud API 指南
获取组织的外部客户端完整列表。
API 端点
GET https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/{partitionGlobalId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Read(用于 GET 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含要从中检索外部客户端的组织 ID。
{
"partitionGlobalId": "<organizationId>"
}
{
"partitionGlobalId": "<organizationId>"
}
响应
200 成功
已成功检索到给定组织的外部客户端列表。
[
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T12:52:37.566Z",
"expiryTime": "2025-07-18T12:52:37.566Z"
}
]
}
]
[
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T12:52:37.566Z",
"expiryTime": "2025-07-18T12:52:37.566Z"
}
]
}
]
从组织中获取特定的外部客户端,并获取最早密码的密码 ID。
API 端点
GET https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/{partitionGlobalId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Read(用于 GET 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含要从中获取外部客户端的组织 ID 以及相应的客户端 ID。
{
"partitionGlobalId": "<organizationId>"
"clientId": "<clientId>"
}
{
"partitionGlobalId": "<organizationId>"
"clientId": "<clientId>"
}
响应
200 成功
已成功检索到外部客户端。
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T12:57:01.155Z",
"expiryTime": "2025-07-18T12:57:01.155Z"
}
]
}
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T12:57:01.155Z",
"expiryTime": "2025-07-18T12:57:01.155Z"
}
]
}
更新外部 OAuth 应用程序的名称、重定向 URL、作用域或证书。
API 端点
PUT https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/{partitionGlobalId}/{clientId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
响应
200 成功
已成功更新指定的外部客户端。
Example Value
Schema
{
"name": "string",
"redirectUri": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
],
"clientCertificates": [
{}
]
}
Example Value
Schema
{
"name": "string",
"redirectUri": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
],
"clientCertificates": [
{}
]
}
删除特定外部客户端。
API 端点
DELETE https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/{partitionGlobalId}/{clientId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含要从中删除外部客户端的组织 ID,以及相应的客户端 ID。
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
响应
204 无内容
已成功删除外部客户端。未返回任何值。
创建一个新的外部客户端。
API 端点
POST https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含组织 ID、外部客户端名称、机密状态、重定向 URI、所需的作用域和客户端证书。
{
"partitionGlobalId": "orgId",
"name": "string",
"isConfidential": true,
"redirectUri": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
],
"clientCertificates": [
{}
]
}
{
"partitionGlobalId": "orgId",
"name": "string",
"isConfidential": true,
"redirectUri": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
],
"clientCertificates": [
{}
]
}
响应
201 已创建
已成功创建外部客户端。
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T13:53:12.823Z",
"expiryTime": "2025-07-18T13:53:12.823Z"
}
]
}
{
"name": "string",
"id": "string",
"secret": "string",
"isConfidential": true,
"redirectUri": "string",
"resources": [
{
"name": "string",
"displayName": "string",
"description": "string",
"scopes": [
{
"name": "string",
"displayName": "string",
"description": "string",
"type": "user"
}
]
}
],
"secrets": [
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T13:53:12.823Z",
"expiryTime": "2025-07-18T13:53:12.823Z"
}
]
}
为给定的外部客户端生成新的客户端密码。
API 端点
GET https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/{partitionGlobalId}/{clientId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
- PM.OAuthSecret.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含外部客户端所在的组织 ID 以及相应的客户端 ID。
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
{
"partitionGlobalId": "<organizationId>",
"clientId": "<clientId>"
}
响应
200 成功
"string"
"string"
生成新的外部客户端。
API 端点
POST https://cloud.uipath.com/{organizationName}/identity_/api/ExternalClient/GenerateSecret
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
- PM.OAuthAppSecret.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含要为其生成密码的客户端 ID、相应的描述和组织 ID。
{
"clientId": "string",
"description": "string",
"partitionGlobalId": "orgId",
"expiryTime": "2025-07-18T13:24:15.806Z"
}
{
"clientId": "string",
"description": "string",
"partitionGlobalId": "orgId",
"expiryTime": "2025-07-18T13:24:15.806Z"
}
响应
200 成功
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T13:56:16.889Z",
"expiryTime": "2025-07-18T13:56:16.889Z"
{
"id": 0,
"description": "string",
"secret": "string",
"creationTime": "2025-07-18T13:56:16.889Z",
"expiryTime": "2025-07-18T13:56:16.889Z"
删除客户端密码。
API 端点
DELETE https://cloud.uipath.com/{organizationName}/identity_/api/{partitionGlobalId}/secrets/{secretsId}
作用域
需要以下任一作用域:
- PM.OAuthApp
- PM.OAuthApp.Write(用于 PUT 请求)
- PM.OAuthAppSecret.Write(用于 PUT 请求)
请求标头
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
请求正文
请求正文包含组织 ID 和要删除的客户端密码的 ID。
{
"partitionGlobalId": "<organizationId>",
"secretId": "<secretId>"
}
{
"partitionGlobalId": "<organizationId>",
"secretId": "<secretId>"
}
响应
204 无内容
已成功删除客户端密码。未返回任何值。