Newer Version Available
CMS Folder Shares
Get or update the targets that a managed content space folder is shared
with.
Workspaces are the only supported sharing targets. To get targets that a managed content space folder can be shared with, use CMS Folder Share Targets.
- Resource
-
1/connect/cms/folders/folderId/shares - Available version
- 63.0
- HTTP methods
- GET, PATCH
- Request body for PATCH
-
- Root XML tag
- <mcsFolderShareCollectionUpdateInputRepresentation>
- JSON example
-
1{ 2"shareWith" : [ 3 { 4 "targetId" : "0Zu000000000001" 5 }, 6 { 7 "targetId" : "0Zu000000000002" 8 } 9 ], 10"unshareWith" : ["0Zu000000000003", "0Zu000000000004"] 11} - Properties
-
Name Type Description Required or Optional Available Version shareWith MCS Folder Share Input[] List of target IDs to share the managed content space folder with. Supported target IDs are the root folder IDs of workspaces. To get the root folder ID of a space, use the CMS Space resource.
Required if unshareWith isn’t specified 63.0 unshareWith String[] Comma-separated list of target IDs to unshare the managed content space folder with. Required if shareWith isn’t specified 63.0
- Response body for GET and PATCH
- MCS Folder Share Collection