automation-cloud
latest
false
- 基本情報
- 認証
- 範囲と権限
- プラットフォーム管理 API

UiPath Automation Cloud API ガイド
最終更新日時 2025年10月16日
組織管理者は、このエンドポイントを使用して、ユーザー ID に基づきユーザーにライセンスを割り当てます。
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'メモ:
{access_token}を取得するには、必ずこちらに記載された ROPC の方法で認証を行ってください。
要求本文には、さまざまな製品のライセンス コードの配列と、それらに対応する数量が含まれています。
{
"userIds": ["string"],
"userBundleCodes": ["string"],
"useExternalLicense": true
}{
"userIds": ["string"],
"userBundleCodes": ["string"],
"useExternalLicense": true
}注:
- 要求本文で使用できる利用可能なユーザー バンドル コードを確認するには、ユーザー ライセンス コードに関するこちらのページをご覧ください。
- 組織が購入した数のライセンスを割り当てることができます。
- 各ユーザーが 1 つずつライセンス ユニットを使用します。
200 OK
割り当てられたグループ ライセンスを返します。404
指定した組織にアカウント ライセンスは割り当てられません。
409
アカウント ライセンスの数量を超えているため、ライセンスの割り当ては許可されません。
API 呼び出しの構築に必要な情報をすべて収集したとします。
- あなたの
{baseURL}は:https://cloud.uipath.com//{organizationName}です。 {access_token}は1234です (長さを考慮)。- ライセンスの割り当てが必要なテナントの
{accountId}はsong-oneです。 - ライセンスを必要とするユーザーは以下の 3 人です。
userId=singer-77のユーザー 1userIdを持つユーザー 2 =singer-88userIdを持つユーザー 3 =singer-111
- 次のユーザー ライセンスを割り当てる必要があります。
呼び出しは次の例のようになります (cURL)。
curl --location --request POST 'https://https://cloud.uipath.com/{organizationName}/lease_/api/account/1234/user-license' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json' \
--data-raw '{
"userIds": ["singer-77", "singer-88", "singer-111"]
"userBundleCodes": ["RPADEVNU", "ATTUNU", "TSTNU"],
"useExternalLicense": true
}curl --location --request POST 'https://https://cloud.uipath.com/{organizationName}/lease_/api/account/1234/user-license' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json' \
--data-raw '{
"userIds": ["singer-77", "singer-88", "singer-111"]
"userBundleCodes": ["RPADEVNU", "ATTUNU", "TSTNU"],
"useExternalLicense": true
}ライセンス割り当てに成功した場合の応答本文は次のとおりです。
[
{
"userId": "string",
"organizationId": "string",
"useExternalLicense": true,
"userBundleCodes": [
"string"
]
}
][
{
"userId": "string",
"organizationId": "string",
"useExternalLicense": true,
"userBundleCodes": [
"string"
]
}
]