- URL:https://<root>/orgs/<orgID>/license/updateLicenseManager(POST only)
- Required Capability:Default administrator role | Manage Licenses
- Version Introduced:10.9
Description
The updateLicenseManager operation updates the license server connection information for an ArcGIS Enterprise portal and registers a backup license manager for high availability. After changing the licenseManagerInfo parameter properties, Portal for ArcGIS automatically restarts to register changes and set up connections with the backup license manager.
Note:
Backup license managers must be authorized to use the same license file as the ArcGIS Enterprise portal.
Request parameters
Parameter | Details |
---|---|
licenseManagerInfo (Required) | The JSON representation of the license server connection information. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
The following is a sample POST request for the updateLicenseManager operation:
POST /context/admin/orgs/0123456789ABCDEF/licenses/updateLicenseManager HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
licenseManagerInfo={"hostname": "licensemanager.domain.com,backuplicensemanager.domain.com","port": 27000}&f=pjson&token=Mb0ORrkLObNO2Q8FZoUCHHzSMzZi0CbhLHNRYMqqa6URG_ojQJF3rNsJAfRB23MyCrLwSmuaHPUo4AEIrUuoH1-4Ot5xh4565FtlQahXAhK2C7Sy0oydZhBwD8KdFSnVlnLr-e9uI5ovSWZ2lGNn9SwoV2MPMzeAh_5r-q-wgwF8DTT_nhuCXJGkMRy-48jjGS2aN5FI18STHZ8RAuKxGasH90SI3C7njZzlGCUrY5m6BDhCMsdpZA14GwNX8Cis
JSON Response example
{
"status": "success",
"recheckAfterSeconds": 20
}