- 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 update operation:
POST /<context>/sharing/rest/portals/123456789ABCDEF/collaborations/972da76ce4a5460aaf60213279d6c3ed/workspaces/5e1aa71ba7e84c01a6620202b1e3f14a/updateServiceProxyConfig HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
serviceProxyUsername=TestViewer&serviceProxyPassword=secret.password&f=pjsonDescription
The update 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
| Parameter | Details |
|---|---|
| The username for a member with Viewer privileges. Example |
| The password for a member with Viewer privileges. Example |
| The response format. The default response format is Values: |
JSON Response example
{
"success": true
}