Yes there is. Looking at the HTTP specification , you will find the following.
$ remove
string Permanently delete a profile from Mixpanel, as well as all its properties. The value is ignored - the profile is determined by $ distinct_id from the request itself.
// This removes the user 13793 from Mixpanel { "$token": "36ada5b10da39a1347559321baf13063", "$distinct_id": "13793", "$delete": "" }
Batch requests
Both event endpoints at http://api.mixpanel.com/track/ and the profile update endpoint at http://api.mixpanel.com/engage/ accept batch updates. To send a message packet to the endpoint, you must use POST instead of a GET request. Instead of sending a single JSON object as a data request parameter, send a list of base64 encoded JSON objects as the data parameter for the application's POST request body / x -www-form-urlencoded.
// Here a list of events [ { "event": "Signed Up", "properties": { "distinct_id": "13793", "token": "e3bc4100330c35722740fb8c6f5abddc", "Referred By": "Friend", "time": 1371002000 } }, { "event": "Uploaded Photo", "properties": { "distinct_id": "13793", "token": "e3bc4100330c35722740fb8c6f5abddc", "Topic": "Vacation", "time": 1371002104 } } ]
Base64 is encoded, the list will be:
==
Thus, the body of the POST request for sending events as a packet:
data===
Both endpoints will receive up to 50 messages in one batch. Typically, batch requests will have the "time" property associated with events, or the "$ time" attribute associated with profile updates.
MyGGaN
source share