Skip to main content
All CollectionsWorking with Cloud Code
How do I enforce one group per user?
How do I enforce one group per user?

How do I cleanup JoinRequests?

Paul Winterhalder avatar
Written by Paul Winterhalder
Updated over 6 years ago

Using a Cloud Code script, you can write a method that will only accept a join requests for users currently not in a group, and have the script clean up any remaining join requests from that user. Check out the example here

New to groups? Check out our API Reference.

New to Cloud Code? Check out our Cloud Code Tutorials.

Did this answer your question?