- URL:
- https://<root>/security/config/changeServerRole
- Methods:
POST- Version Introduced:
- 12.0
Description
The change operation updates the server role of an ArcGIS Video Server.
Request parameters
| Parameter | Description |
|---|---|
(Required) | The name of the |
(Required) | Sets the server function. This should be set to |
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the change operation:
POST /<context>/admin/security/config/changeServerRole HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
serverRole=FEDERATED_SERVER&serverFunction=VideoServer&f=pjsonJSON Response example
{"status": "success"}