URL:
https://<root>/federation/servers/<serverID>/update
Methods:
POST
Version Introduced:
10.4

Access requirements

Required privileges

The Portal Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.


Tokens

This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Portal Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.

Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generateToken operation in the Portal Directory API. For security reasons, all POST requests made to the Portal Administrator API must include a token in the request body.


Learn how to generate a token

Description

The update operation modifies the current administrative URL, server role, and server function set for a federated server.

Modify server roles

When modifying server roles, a federated server can either be modified to act as the hosting server for an organization or be updated to enable an access model that controls who has administrative and publisher access to the federated server (FEDERATED_SERVER_WITH_RESTRICTED_PUBLISHING). Hosting servers can also have their hosting status removed to allow for a different federated server to become the hosting server.

Setting the server role as HOSTING_SERVER will set the specified server as the hosting server for the organization. Before a federated server can be elevated to a hosting server, it must be configured with required storage, including a relational store and an object store. See Data storage configuration for more details.

Setting the server role as FEDERATED_SERVER_WITH_RESTRICTED_PUBLISHING will immediately restrict access to the federated server to only organization administrators. Organization members that have been assigned publisher privileges cannot access the federated server unless they are added to the publisher-specific group for the federated server or have the publisher-specific item shared to a group they belong to. For more information, see the Fine-grained access control of federated servers documentation.

Modify server functions

A federated server can be assigned any of the possible server functions as long as it is a server of the corresponding type with the appropriate licensing and a hosting server is configured with the portal.

The following table lists the possible server functions and any additional requirements needed:

FunctionRequirements
RasterAnalyticsA raster store must be configured with the federated server.
ImageHostingIf your organization will be performing raster analysis, the recommended architecture includes three separate federated servers: one ArcGIS Image Server, one ArcGIS Image Server configured for raster analytics, and one hosting server configured with the base deployment. However, a single ArcGIS Image Server can also support raster analysis and image hosting.

A file share raster store, or a combination of a database raster store and a cloud store raster store, must be configured with the federated server.
WorkflowManagerNo additional requirements.
KnowledgeServerA graph store must be configured with the federated server.
NotebookServerNo additional requirements.
MissionServerNo additional requirements.
VideoServerNo additional requirements.
DataPipelinesServerNo additional requirements.
VelocityNo additional requirements.
RealityServerA cloud store raster store and either a file share roster store or a database raster store must be configured with the federated server.
GeoAnalytics A spatiotemporal big data store must be configured with the hosting server.

Modify administrative URLs

Starting at ArcGIS Enterprise 11.2, this operation can be used to modify the administrative URL for a federated server, which is used when performing administrative operations on an internal network. The format of the administrative URL will vary depending on the federated server's assigned functions:

FunctionAdministrative URL Format

RasterAnalytics

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

ImageHosting

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

WorkflowManager

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

KnowledgeServer

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

NotebookServer

Example
Use dark colors for code blocksCopy
1
https://notebookserver.example.com:11443/arcgis

MissionServer

Example
Use dark colors for code blocksCopy
1
https://missionserver.example.com:20443/arcgis

VideoServer

Example
Use dark colors for code blocksCopy
1
https://videoserver.example.com:21443/arcgis

DataPipelinesServer

Example
Use dark colors for code blocksCopy
1
https://datapipelinesserver.example.com:14443/arcgis

Velocity

Example
Use dark colors for code blocksCopy
1
https://velocity.example.com:7143/arcgis

RealityServer

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

GeoAnalytics

Example
Use dark colors for code blocksCopy
1
https://gisserver.example.com:6443/arcgis

Request parameters

ParameterDetails

adminUrl

Introduced at 11.2. Modifies the administrative URL for the federated server, which is used when performing administrative operations on an internal network. Use the machine's fully qualified name for the administrative URL. The URL provided must be a URL that the portal can use to communicate with all servers in the site, even when one of them is unavailable.

Example
Use dark colors for code blocksCopy
1
2
//Notebook server example
adminUrl=https://notebookserver.example.com:11443/arcgis

serverRole

Specifies whether the server is a hosting server for the portal, a federated server, or a server with restricted access to publishing.

Values: FEDERATED_SERVER | FEDERATED_SERVER_WITH_RESTRICTED_PUBLISHING | HOSTING_SERVER

serverFunction

Specifies the functions for the federated server. The server can be assigned any of the values listed below as long as the server meets the requirements for each functional area. Values can be comma separated, but it is recommended that you do not use a single server for multiple server functions.

Values: RasterAnalytics | ImageHosting | NotebookServer | MissionServer | WorkflowManager | KnowledgeServer | VideoServer | DataPipelinesServer | Velocity | RealityServer | GeoAnalytics (Deprecated at 11.4)

f

The response format. The default response value is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the update operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /<context>/portaladmin/federation/servers/FfURK2ysFiMjzDkJ/update HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

adminUrl=https://notebookserver.example.com:11443/arcgis&serverRole=FEDERATED_SERVER&serverFunction=NotebookServer&f=json&token=<ACCESS_TOKEN>

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
  "status": "success",
  "serverId": "iSoD09CM73g0tmu9"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.