Skip to content
URL:
https://<root>/security/config/changeServerRole
Methods:
POST
Version Introduced:
12.0

Description

The changeServerRole operation updates the server role of an ArcGIS Video Server.

Request parameters

ParameterDescription

serverRole

(Required)

The name of the serverRole. The available options for ArcGIS Video Server are FEDERATED_SERVER and STANDALONE_SERVER.

serverFunction

(Required)

Sets the server function. This should be set to VideoServer.

f

(Required)

The response format. The default response format is html.

Values: html | json | pjson

token

(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 changeServerRole operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

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