Newer Version Available

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

Unfollow a Record

When you follow a record, the call to ConnectApi.ChatterUsers.follow returns a ConnectApi.Subscription object. To unfollow a record, pass the id property of that object to the deleteSubscription(communityId, subscriptionId) method.