leaveCommunity( )


Removes the currently logged-in member from the site community and sets their profile to private.

When a member's profile is private, they do not have access to the site's Members Area features — such as chat, forum, and followers — and their profile is hidden from other members and site visitors.

Notes:

  • If a member leaves the site's community, their content (such as forum posts and blog comments) remain publicly visible.
  • Only logged-in members can call this function without elevated permissions.
  • To call this function as a different identity, elevated permissions are required.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<LeaveCommunityResponse>
Did this help?