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.
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 us via our Get support page.
I need to block or delete identifying information to comply with data privacy legislation (COPPA, HIPPA, etc.).
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. You can also submit an in-app request for the deletion of user data, or delete bulk amounts of user data via Postman.
I need to delete some events, properties, or segments.
You can remove these definitions from Heap via the steps in these guides:
I need to delete some users.
You can delete users from your Heap account via our User Deletion API.
I have a different use case for deleting data from Heap.
If you need help, visit our Get support page.