Change Server Role

URL:
https://<securityconfig-url>/changeServerRole
Methods:
POST
Required Capability:
Administrator
Version Introduced:
10.8

Description

Request Parameters

ParameterDetails

serverRole

Specifies whether the server is a standalone server or a federated server.

Values: FEDERATED_SERVER | STANDALONE_SERVER

serverFunction

Associates a specific function with the server. The only valid server function is MissionServer .

f

The response format. The default response value is html .

Values: html | json | pjson

Example usage

Below is a sample POST request for update :

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/security/config/FfURK2ysFiMjzDkJ/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

serverRole=FEDERATED_SERVER&serverFunction=MissionServer&f=json

JSON Response example

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

JSON Response Example

Use dark colors for code blocksCopy
1

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