ConnectApi.ManagedContentUnpublishInput

Input for unpublishing content.

PropertyTypeDescriptionRequired or OptionalAvailable Version
contentIdsList<String>IDs of content to unpublish. All variants of the content are unpublished.Required if variantIds isn’t specified60.0
contextContent​SpaceIdStringID 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.Optional61.0
descriptionStringDescription for unpublish action.Optional60.0
variantIdsList<String>IDs of variants to unpublish. All variants must be from the same content space.Required if contentIds isn’t specified60.0