- URL:
- https://<securityconfig-url>/changeServerRole
- Methods:
POST
- Required Capability:
- Administrator
- Version Introduced:
- 10.8
Description
Request Parameters
Parameter | Details |
---|---|
| Specifies whether the server is a standalone server or a federated server. Values: |
| Associates a specific function with the server. The only valid server function is |
| The response format. The default response value is Values: |
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"
}
JSON Response Example