The answer to this depends on your use case and the type of data you are trying to delete from Heap. Check for your use case below. If none of them apply to your situation, contact firstname.lastname@example.org with details about your use case.
I would like to make sure I can set up Heap to not capture certain data before installing it on my website or app.
The sensitive data section of our installation guides go over how to do this. See the sections below for your platform(s) of choice to set this up.
I installed Heap using the wrong app ID and the wrong data was sent to my environment.
In this case, we recommend deleting your environment and starting over with a new one. See Deleting Environments for steps to do this.
Note that you cannot delete the default Main Production environment. If this is the environment you sent this data to, contact email@example.com for assistance.
I need to block or delete identifying information to comply with data privacy legislation (COPPA, HIPPA, etc.).
To block data from ever coming into Heap to comply with data privacy legislation, see Using Heap to Comply With Data Privacy Legislation for a full list of options. We recommend blocking data like (IP, location) before installing Heap to your site.
If data has already come into your Heap account that you need to delete, you can use the User Deletion API to delete users and their personal data from your Heap account.
I need to delete some events, properties, or segments.
You can remove these definitions from Heap via the steps in these guides:
I have a different use case for deleting data from Heap.
Contact firstname.lastname@example.org with details about your use case.