Some Mixpanel users find that they want to delete People Profiles if they’ve accidentally imported a batch of profiles incorrectly, they have an identity management issue that leads to profile duplication, or they have gone over their profile quota and want to delete inactive profiles. Mixpanel offers several options for deleting People Profiles from your project depending on how many you want to delete and your level of technical expertise.
Whichever route you chose for deleting People Profiles, please keep in mind that deletion is PERMANENT and cannot be reverted, so delete with caution!
Delete a single People Profile
You can delete individual People Profiles via Explore by clicking into the profile in question, then clicking the delete icon:
It’s not possible to bulk delete via the Mixpanel UI. We have intentionally not included this feature to prevent accidental bulk deletion.
Bulk delete via Mixpanel-api Module
Bulk delete via your own 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, then
Use the $delete update operation to eliminate a profile.
For example, if you want to delete the People Profile with distinct_id 12345, you would send the following payload:
"$token": "yourMixpanelProjectToken", "$distinct_id": "12345", "$delete": "" }