Remove Test Users without Increase MAU

Problem Statement

How to remove test users (that have a very small lifetime in the system) from the MAU count to avoid needing a quota increase.

Symptoms

Symptoms

Need an increase in the MAU quota.

Solution

Test users will count as MAU as long as they authenticate. The best approach we recommend for keeping the MAU count down while testing is to create users with the same user_id. Each time you create and delete a user with the same user_id, it will not increment your MAU count. These users can have random email addresses and will still count as just one user.

You can set the user_id in two ways:

  1. Creating users with the management API and including a “user_id” value
  2. Creating users with a custom database script where the user_id can also be determined.

Otherwise, the normal signup flow will assign a random user_id.

1 Like