automation-cloud
latest
false
- Erste Schritte
- Authentication
- Scopes und Berechtigungen
- Plattformverwaltungs-APIs

Automation Cloud-API-Handbuch
Letzte Aktualisierung 12. Dez. 2025
As an organization admin, use this endpoint to allocate licenses to a group and optionally configure quotas to limit license consumption. Requires an external application with the scope
PM.License.Write.
PUT <https://https://cloud.uipath.com/{organizationName}/lease_/api/account/{accountId}/user-license/group/{groupId}/with-quota>
--header 'Authorization: Bearer {access_token}'
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'
--header 'Content-Type: application/json'| Pfadparameter | Datentyp | Beschreibung |
|---|---|---|
|
(erforderlich) | GUID | Die ID der Organisation, in der sich Ihr Mandant befindet. |
|
(erforderlich) | String |
Die ID der Gruppe, der Sie Lizenzen zuweisen möchten. Sie können diese ID abrufen, indem Sie die folgenden Schritte ausführen. |
{
"userBundleCodes": ["string"],
"quotas": [
{
"userBundleCode": "string",
"limit": 10
}
]
}{
"userBundleCodes": ["string"],
"quotas": [
{
"userBundleCode": "string",
"limit": 10
}
]
}Hinweis:
userBundleCodes: Array of license codes to allocate (refer to user license codes).quotas(optional): Quota configurations. EachuserBundleCodein quotas must exist in theuserBundleCodesarray.- Quota
limitmust be at least 1 and cannot be lower than current usage. - If quotas are empty, licenses are allocated without limits.
200 OK
Returns the allocated group licenses with configured quotas and current usage.404
Organization or group does not exist.The request should resemble the following example (cURL):
curl --location --request PUT 'https://https://cloud.uipath.com/{organizationName}/lease_/api/account/1234/user-license/group/group-01/with-quota' \
--header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"userBundleCodes": ["RPADEVPRONU", "IDU"],
"quotas": [
{
"userBundleCode": "RPADEVPRONU",
"limit": 10
}
]
}'curl --location --request PUT 'https://https://cloud.uipath.com/{organizationName}/lease_/api/account/1234/user-license/group/group-01/with-quota' \
--header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"userBundleCodes": ["RPADEVPRONU", "IDU"],
"quotas": [
{
"userBundleCode": "RPADEVPRONU",
"limit": 10
}
]
}'Hier ist der Antworttext für eine erfolgreiche Lizenzzuweisung:
{
"groupRule": {
"groupId": "group-01",
"organizationId": "1234",
"userBundleCodes": ["RPADEVPRONU", "IDU"]
},
"quotas": [
{
"userBundleCode": "RPADEVPRONU",
"limit": 10,
"currentUsage": 3
}
]
}{
"groupRule": {
"groupId": "group-01",
"organizationId": "1234",
"userBundleCodes": ["RPADEVPRONU", "IDU"]
},
"quotas": [
{
"userBundleCode": "RPADEVPRONU",
"limit": 10,
"currentUsage": 3
}
]
}