Permanently delete communities and associated data with proper permissions and safety measures
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.
Parameter | Type | Required | Description |
---|---|---|---|
communityId | String | Yes | Unique identifier of the community to delete |
Role | Delete Permission | Notes |
---|---|---|
Community Creator | Yes | Can delete their own communities |
Community Moderator | Yes | Can delete communities they moderate |
Administrator | Yes | Can delete any community with proper permissions |
Regular Member | No | Cannot delete communities |