Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​StatusCapabilityInput

Change the status of a feed post or comment.

This class is a subclass of ConnectApi.​FeedElement​CapabilityInput.

Property Type Description Required or Optional Available Version
feedEntityStatus ConnectApi.​FeedEntityStatus Status of the feed post or comment. Values are:
  • Draft—The feed post isn’t published but is visible to the author and users with Modify All Data or View All Data permission. Comments can’t be drafts.
  • PendingReview—The feed post or comment isn’t approved yet and therefore isn’t published or visible.
  • Published—The feed post or comment is approved and visible.

Posts that have a status of PendingReview or Published can’t be changed to a status of Draft and vice versa.

Required 37.0