Created
June 22, 2017 20:46
-
-
Save JeremyPlease/b29c3bbd5b5d33b363cd7ee04f5535fc to your computer and use it in GitHub Desktop.
Delete All Mixpanel Profiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./node_modules/.bin/engage -p '$distinct_id' -k MIXPANEL_KEY -s MIXPANEL_SECRET | jq -c -M '[.[] | {"$distinct_id","$delete":"","$ignore_alias":true}]' >> todelete.json; | |
cat todelete.json | ./node_modules/.bin/engagepost -k MIXPANEL_KEY -s MIXPANEL_SECRET -t MIXPANEL_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment