This article reflects the behavior of an older version of Mixpanel's identity management system without Identity Merge enabled.
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.
Important Note:
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 Users under top navigation.
Select a profile from the list and click Delete at the top of the profile. Note that only admins and project owners can delete profiles.
Bulk Delete Profiles
In the Explore Table view you can now delete up to 1,000 profiles at a time. Remember deletion is PERMANENT and cannot be reverted. Please delete with caution!
Bulk Delete with Mixpanel-API Module
Mixpanel provides an API module to make it easy to delete your profiles. Get access to the API module here. For a quick jump directly to the People Delete section - you can head here.
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.
Learn more about the $delete update operation.
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": "" }
Comments
Article is closed for comments.