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.ManagedContentUnpublishInput

Input for unpublishing content.
Property Type Description Required or Optional Available Version
contentIds List<String> IDs of content to unpublish. All variants of the content are unpublished. Required if variantIds isn’t specified 60.0
contextContent​SpaceId String ID of the context workspace. If specified, content from other workspaces is unpublished if it is shared to the specified workspace. If unspecified, the context workspace is derived from the content’s origin workspace. All content in the request should belong to the same origin workspace. Optional 61.0
description String Description for unpublish action. Optional 60.0
variantIds List<String> IDs of variants to unpublish. All variants must be from the same content space. Required if contentIds isn’t specified 60.0