# Types.UpdateLicensesInput

Input type describing the users and product for a license assignment or unassignment.

> Kind: Apex type · Updated: 2026-07-01

This custom Apex type represents the input for the Client.assignUserLicenses() and Client.unassignUserLicenses() methods. It pairs a list of Salesforce User IDs with the product whose license should be assigned or unassigned.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | List&lt;Id&gt; | required | Provide a list of Salesforce User IDs. |
| productName | String | required | Specify the product for which you want to assign a license. Valid values include: document-management, document-generation, and document-ai. |

## Constructors

```apex
global UpdateLicensesInput(
    List<Id> ids, 
    String productName
)
```
