--- title: "Import License to the Manager" slug: "import-license-to-the-manager-2" tags: ["IPS 11.1.x", "Reference"] updated: 2026-11-19T12:57:44Z published: 2026-11-19T12:57:44Z canonical: "docs.trellix.com/import-license-to-the-manager-2" --- > ## 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://<NSM_IP>/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: |