Update Server

Description

This operation updates the properties of an ArcGIS Server site that has been registered, or federated, with the portal. For example, you can use this operation to change the federated site that acts as the portal's hosting server.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

name

The fully qualified name of the machine hosting the ArcGIS Server site, followed by the port.

url

The externally visible URL of the ArcGIS Server site, using the fully qualified name of the machine.

adminUrl

The administrative URL of the ArcGIS Server site, using the fully qualified name of the machine.

isHosted

A Boolean property denoting whether the ArcGIS Server site will be allowed to host services for the portal (true) or will not be allowed to host services (false).

serverType

The type of server being registered with the portal. For example: ArcGIS.

Response Properties

Property

Details

success

A Boolean property indicating whether the update was successful.

serverId

The unique identifier of the updated server.

Example Usage

http://myportal.mydomain.com/arcgis/sharing/rest/portals/0123456789ABCDEF/servers/J5TUOrNQurCDgHFq/update
name: myserver.mydomain.com:6080
url: http://myserver.mydomain.com/arcgis
adminUrl: http://myserver.mydomain.com:6080/arcgis
isHosted: false
serverType: ArcGIS

JSON Response Syntax

{
  "success": true | false,
  "serverId": <serverId>
}

JSON Response Example

{
  "success": true,
  "serverId": "J5TUOrNQurCDgHFq"
}

10/6/2017