- URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/updateInfo(POST only)
- Required Capability:Administrator (host)
- Version Introduced:10.5
Example usage
Below is a sample ArcGIS Online POST request for the updateInfo operation:
POST /sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/updateInfo HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=Test Workspace&description=Test&maxItemSizeInMB=1024&maxReplicationPackageSizeInMB=5120&f=pjson
Below is a sample ArcGIS Enterprise POST request for the updateInfo operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/updateInfo HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=Test Workspace&description=Test&maxItemSizeInMB=1024&maxReplicationPackageSizeInMB=5120&f=pjson
Description
The updateInfo operation updates certain collaboration workspace properties.
Request parameters
Parameter | Details |
---|---|
name | The name of the new workspace. The workspace name has a limit of 100 characters. |
description | The description of the new workspace. The workspace description has a limit of 250 characters. |
maxItemSizeInMB | The maximum size (in MB) for a feature layer data item to upload and share as a copy. This parameter was added in 10.6. |
maxReplicationPackageSizeInMB | The maximum size (in MB) for a replication package. If this limit is exceeded, no further items will be added to the replication package. This parameter was added in 10.6. |
copyByRefIfCopyFail | Determines whether a failed attempt to copy should revert to sharing by reference. For example, in cases where the imposed size limit has been exceeded. Values: true | false This parameter was added in 10.6. |
config | The configuration details of the new workspace. This parameter was removed in 10.6. |
f | The response format. The default format is html. Values: html | json | pjson |
JSON Response example
{
"success": true
}