/[workspaceID]/updateInfo: Update Workspace Info

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/updateInfo
Methods:
POST
Required Capability:
Administrator (host)
Version Introduced:
10.5

Example usage

The following is a sample ArcGIS Online POST request for the updateInfo operation:

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

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

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

ParameterDetails

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.

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.

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

config

The configuration details of the new workspace.

f

The response format. The default 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.