Opigno Enterprise API provides the deleteCommunity mutation to remove the community, all related posts, comments, invitations and memberships. The community can be deleted only by the owner or a user associated wit the ADMINISTRATOR scope. deleteCommunity mutation accepts only one required argument communityId that represents the ID of the community that should be deleted. After the mutation execution the community will not be available for any other user on the platform.
  mutation deleteCommunity {
    deleteCommunity (communityId: 2) {
      errors
      response
    }
  }
If the mutation executed without any errors, a boolean value will be returned as a response, indicating the execution status.