/[workspaceID]/updateServiceProxyConfig: Update Service Proxy Config

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/updateServiceProxyConfig
Methods:
POST
Version Introduced:
10.8

Example usage

The following is a sample ArcGIS Enterprise POST request for the updateServiceProxyConfig operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/sharing/rest/portals/123456789ABCDEF/collaborations/972da76ce4a5460aaf60213279d6c3ed/workspaces/5e1aa71ba7e84c01a6620202b1e3f14a/updateServiceProxyConfig HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

serviceProxyUsername=TestViewer&serviceProxyPassword=secret.password&f=pjson

Description

The updateServiceProxyConfig operation adds or updates credentials that will be used by other participating portals when accessing services copied by reference. This will allow the copied services to be viewed without requiring credentials from the originating portal. The credentials are restricted to a built-in member with Viewer (Level 1) privileges only. Credentials are stored on a workspace level.

Request parameters

ParameterDetails

serviceProxyUsername

The username for a member with Viewer privileges.

Example

Use dark colors for code blocksCopy
1
serviceProxyUsername=TestViewer

serviceProxyPassword

The password for a member with Viewer privileges.

Example

Use dark colors for code blocksCopy
1
serviceProxyPassword=secret.password

f

The response format. The default response format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

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