- Getting started
- Authentication
- Scopes and permissions
- Platform Management APIs
Get User License Allocations for a User
GET endpoint for retrieving the user licenses a single user holds, how each license was allocated, and when it was last in use.
Retrieves the user licenses that a single user holds in an organization, whether each license was allocated directly to the user or through a group, and when each license was last in use. Requires an external application with the LicenseRead policy, or a user with view permissions on licensing data, such as the License Viewer role.
API endpoint
GET {accessURL}/{organizationName}/lease_/api/account/{organizationId}/user-license/user/{userId}/allocations
Replace {accessURL} in all endpoint paths with the base URL for your cloud platform:
| Cloud platform | Access URL |
|---|---|
| Test Cloud | https://cloud.uipath.com/ |
| Test Cloud Public Sector | https://govcloud.uipath.us/ |
| Test Cloud Dedicated | https://{customURL}.dedicated.uipath.com/ |
Request headers
--header 'Authorization: Bearer <your-access-token>'
--header 'Authorization: Bearer <your-access-token>'
Path parameters
| Path param | Data type | Description |
|---|---|---|
organizationId (required) | Guid | The ID of your organization. |
userId (required) | Guid | The ID of the user. |
Responses
200 OK
The user holds at least one license, allocated directly or through a group.
{
"id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"name": "string",
"displayName": "string",
"orphan": false,
"allocations": [
{
"userBundleCode": "string",
"allocationType": "Direct",
"lastInUse": "2026-01-01T00:00:00Z"
}
]
}
{
"id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"name": "string",
"displayName": "string",
"orphan": false,
"allocations": [
{
"userBundleCode": "string",
"allocationType": "Direct",
"lastInUse": "2026-01-01T00:00:00Z"
}
]
}
The fields have the same meaning as in Get User License Allocations. The groupId and groupName fields appear only for licenses acquired through a group.
404 Not Found
The user holds no license in the organization.
Example request
curl --location --request GET 'https://cloud.uipath.com/my-org/lease_/api/account/1234/user-license/user/5678/allocations' --header 'Authorization: Bearer <your-access-token>'
curl --location --request GET 'https://cloud.uipath.com/my-org/lease_/api/account/1234/user-license/user/5678/allocations' --header 'Authorization: Bearer <your-access-token>'