--- title: "Import License to the Manager" slug: "import-license-to-the-manager" tags: ["Reference", "IPS 10.1.10"] updated: 2026-09-23T09:35:43Z published: 2026-09-23T09:35:43Z canonical: "docs.trellix.com/import-license-to-the-manager" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Import License to the Manager This URL imports a license file to the Manager. ## Resource URL PUT /license ## Request Parameters URL Parameters: None Payload Request Parameters: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | MultiPart | Holds the body part objects | Object | Yes | Details of BodyPart[0]: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | BodyPart[0] | Holds the file format object | Application/json object | Yes | Details of file format: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | fileName | Name of the file | String | Yes | | oldLicense | Details of the existing license that should be upgraded. > [!NOTE] > Note > > This information is required only when an upgrade license is imported. | Object | No | Details of oldLicense: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | licenseId | License id which needs to be upgraded | String | Yes | | grantIndex | Grant Index of the license which needs to be upgraded | String | Yes | Details of BodyPart[1]: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | BodyPart[1] | Holds the license file as an input stream | Application/octet-stream | Yes | Details of license file: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | File | The license file data | ByteArrayInputStream | Yes | ## Response Parameters Following field is returned: | Field Name | Description | Data Type | | --- | --- | --- | | status | Set to 1 if the request is successful | number | ## Example **Request** PUT [https:///sdkapi/license](https://%3CNSM_IP%3E/sdkapi/getclusterid) **Payload** ``` NSM-SDK-API: QjUzNDQzMjNCNUQ2NkEzQjc4Mzc5REMxRjMxMDg0OTE6MQ== Accept: application/vnd.nsm.v1.0+json Content-Type: multipart/form-data; boundary=Boundary_1_17241377_1362484380857 MIME-Version: 1.0 User-Agent: Java/1.6.0_25 Host: localhost:8888 Connection: keep-alive Content-Length: 15956464 --Boundary_1_17241377_1362484380857 Content-Type: application/json {"fileName":"VMIPSLICENCE_sdkapi.jar"} --Boundary_1_17241377_1362484380857 Content-Type: application/octet-stream File data --Boundary_1_17241377_1362484380857-- ``` **Response** ``` { 'status' : 1 } ```   ## Error Information Following error codes are returned by this URL | No | HTTP Error Code | SDK API errorId | SDK API errorMessage | | --- | --- | --- | --- | | 1 | 500 | 1001 | Internal error | | 2 | 500 | 1001 | Internal error message: |