- URL:https://<securityconfig-url>/changeServerRole(POST only)
- Required Capability:Administrator
- Version Introduced:10.8
Description
Request Parameters
Parameter | Details |
---|---|
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:
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
{
"status": "success",
"serverId": "iSoD09CM73g0tmu9"
}