UiPath Documentation
automation-cloud
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Automation Cloud API 指南

上次更新日期 2026年4月9日

获取具有配额的组规则

检索已从特定组获取许可证的用户列表。需要具有OrganizationAdminLicenseRead策略的外部应用程序。

API 端点

GET {accessURL}/{organizationName}/lease_/api/account/{organizationId}/user-license/groups/with-quota

将所有端点路径中的{accessURL}替换为您的云平台的基本 URL:

Cloud Platform访问 URL
Automation Cloudhttps://cloud.uipath.com/
Automation Cloud 公共部门https://govcloud.uipath.us/
Automation Cloud 专用https://{customURL}.dedicated.uipath.com/

请求标头

--header 'Authorization: Bearer {access_token}'
--header 'Authorization: Bearer {access_token}'

参数

路径参数数据类型描述
organizationIdGuid租户所在组织的 ID。

查询参数

所有查询参数都是可选的,并用于分页。

参数类型描述
skip整数在结果列表中的偏移量。
top整数要返回的结果数量。最大值: 50。
sortBy字符串排序字段名称。使用大写的驼峰式 C# 属性名称。
sortOrder字符串设定方向。接受的值: asc, desc

响应

200 OK - 返回所有组的许可证规则和配额配置。404 - 组织不存在

[
  {
  "results": [
    {
      "groupRule": {
        "id": "guid",
        "name": "string",
        "userBundleLicenses": ["string"],
        "userBundleLeases": { "bundleCode": 0 },
        "useExternalLicense": true,
        "orphan": false,
        "userLicenseBundlesUnavailable": ["string"]
      },
      "quotas": [
        {
          "userBundleCode": "string",
          "limit": 0.0,
          "currentUsage": 0
        }
      ]
    }
  ],
  "totalCount": 0
}
]
[
  {
  "results": [
    {
      "groupRule": {
        "id": "guid",
        "name": "string",
        "userBundleLicenses": ["string"],
        "userBundleLeases": { "bundleCode": 0 },
        "useExternalLicense": true,
        "orphan": false,
        "userLicenseBundlesUnavailable": ["string"]
      },
      "quotas": [
        {
          "userBundleCode": "string",
          "limit": 0.0,
          "currentUsage": 0
        }
      ]
    }
  ],
  "totalCount": 0
}
]

请求示例

[
    curl --location --request GET 'https://cloud.uipath.com/my-org/lease_/api/account/1234/user-license/groups/with-quota' --header 'Authorization: Bearer {access_token}'
]
[
    curl --location --request GET 'https://cloud.uipath.com/my-org/lease_/api/account/1234/user-license/groups/with-quota' --header 'Authorization: Bearer {access_token}'
]
  • API 端点
  • 请求标头
  • 参数
  • 查询参数
  • 响应
  • 请求示例

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新