Last Updated: April 01, 2016
· heitortsergent

Deleting events from Keen IO

Sometimes you need to do some tests, and you might end up with unwanted events in your Keen IO collections. Fear not, as it's super easy to delete one or a small group of events!

First, you want to use the extraction endpoint to make sure you're getting just the events you want to delete. Adjust it by changing the timeframe and filters parameters:

$ curl

After you're sure of getting only the events you want to delete, make a DELETE request to the endpoint below, with the same parameters you used in the previous request (with the exception of the MASTERKEY in place of the READKEY):

$ curl

And that's it. 🎉