Links

Delete Community

The SDK provides a way for creators or moderators to delete a community by calling the deleteCommunity method. In the JavaScript SDK, this method is referred to as the closeCommunity method.
To delete a community using this method, users can call the method and provide the communityId as a parameter. This will trigger the deletion process, which will remove the community and associated community data.
It is important to note that deleting a community is a permanent action and cannot be undone. As such, it is recommended that users exercise caution when deciding to delete a community and ensure that they have taken all necessary precautions to preserve any important content or data associated with the community.
iOS
Android
JavaScript
TypeScript
Flutter
const success = await CommunityRepository.closeCommunity('abc');
Version 6
Beta (v0.0.1)
Last modified 9mo ago