How to upload license to the host tenant through API call?
Kindly note that this can be achieved by making HTTP Post request to the below endpoint using the “HTTP Request” activity,
- {Orchestrator_Url}/odata/HostLicenses/UiPath.Server.Configuration.OData.UploadLicense
Below values needs to be passed in the "HTTP Request" activity,
- In Attachment property , create a argument and pass the path of the license file.Refer below screenshot:
- In headers pass the "Authorization",. Refer below screenshot:
Authorization token needs to be fetched by making API call to below URL,
- {Orchestrator_Url}/api/Account/Authenticate
- In the parameters property pass the parameters in below format: