Auth0 Home Blog Docs

Conditionally limiting the number of created users



Hi, We’re looking at using Auth0 to manage user accounts for a multitenant application. We’d like to grant our customers access to add/edit their own users via the delegated administration dashboard. Ideally we’d like to limit our customers in how many users they can create, depending on their plan with us. Is it possible in the pre-registration hook to get how many users exist, or is there some other way to implement this type of restriction without implementing our own admin dashboard?