Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.MCSFolderShareCollectionUpdateInput

Update the targets that a managed content space folder is shared with.
Property Type Description Required or Optional Available Version
shareWith List<ConnectApi.​MCSFolder​ShareInput> 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 for a space, use the getManagedContentSpace(contentSpaceId) method.

Required if unshareWith isn’t specified 63.0
unshareWith List<String> Comma-separated list of target IDs to unshare the managed content space folder with. Required if shareWith isn’t specified 63.0