Skip To Content
ArcGIS Developer
Dashboard

/[workspaceID]/updateServiceProxyConfig: Update Service Proxy Config

  • URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/updateServiceProxyConfig(POST only)
  • Version Introduced:10.8

Example usage

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


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

This 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.

Note:

This operation is only supported for ArcGIS Enterprise-to-ArcGIS Enterprise collaborations.

Request parameters

ParameterDetails
serviceProxyUsername

The username for a member with Viewer privileges.

Example

serviceProxyUsername=TestViewer
serviceProxyPassword

The password for a member with Viewer privileges.

Example

serviceProxyPassword=secret.password
f

The response format. The default response format is html.

Values: html | json | pjson

JSON Response example


{
  "success": true
}