Mixpanel offers several options to delete user profiles from your project, depending on how many you want to delete and your level of technical expertise.
You might want to delete user profiles for a variety of reasons. For example, if you’ve accidentally imported a batch of profiles incorrectly, have an identity management issue that leads to profile duplication, or exceeded your profile quota and want to delete inactive profiles.
For whatever reason you choose to delete user profiles, remember deletion is PERMANENT and cannot be reverted. Delete with caution!
Delete a Single User Profile
To delete individual user profiles, navigate to Explore under "Users" to see a list of all your user profiles.
Select a profile from the list and click Delete at the top of the profile.
It’s not possible to bulk delete through the Mixpanel UI. Mixpanel intentionally excluded this feature to prevent accidental bulk deletion.
Bulk Delete with Mixpanel-API Module
Bulk Delete with Personal API Script
Deleting profiles in bulk can be done as a people update via the API.
Make a call to the /engage endpoint for a specific $distinct_id value.
Use the $delete update operation to eliminate a profile.
For example, if you want to delete the user profile with distinct_id 12345, you would send the following payload:
"$token": "yourMixpanelProjectToken", "$distinct_id": "12345", "$delete": "" }