Deleting All Members

Hi,

I run a site that allows people access to certain pages if they are a member of the site, however, membership is based on an annual subscription which resets at the beginning of each year. This means I am required to clear all members.

Is there a way of deleting all site members in one go, or do I have to delete them one by one.

Thanks!

Are you using Wix Paid Plans for this subscription?

No, unfortunately we are required to use another platform, so they are merely just approved site members

@lachymcn so I don’t know if you can. (And anyway you don’t want to delete all the members including yourself. Right?)
If you have an additional collection where you store the members, then you can empty it by code, but I don’t think you can do it to the built-in PrivateMembersData collection.

@jonatandor35 Thats annoying, and I was wanting to delete all members including myself, I will till have access to the site as the owner.