# Data deletion

URL: /en/docs/legal/data-deletion

How to delete the data Ecbot holds about you, whether you connected Facebook, own an Ecbot account, or chatted with a shop that uses Ecbot.

This page explains how to have your data deleted from Ecbot. Pick the case that matches you.

## You connected Facebook or Messenger to Ecbot [#you-connected-facebook-or-messenger-to-ecbot]

You can ask for deletion from Facebook itself:

1. Open Facebook, then **Settings and privacy**, then **Settings**.
2. Open **Apps and websites**.
3. Find **Ecbot** and choose **Remove**.
4. Tick the option to delete the data Ecbot has about you, then confirm.

Facebook sends us the request. We delete your linked Facebook login at once: your name, profile picture, Facebook user id and the access token Ecbot held for you. We also delete the access tokens of the Pages you connected, so Ecbot can no longer send messages for those Pages until a workspace member reconnects them. Facebook then shows you a confirmation code and a link back to this page.

You can also do this inside Ecbot: open **Channels**, choose the Facebook account or Page, and remove it. Removing a Page permanently deletes its conversations and messages from Ecbot.

## You have a confirmation code [#you-have-a-confirmation-code]

If you arrived here with a code in the address (`?code=...`), your request was received and your linked Facebook login has been deleted. Nothing else is needed.

Keep the code. If you have a question about the request, send the code to security@ecbot.dev and we can look it up.

## You have an Ecbot account [#you-have-an-ecbot-account]

Open your profile in the app to download your personal data or delete your account. Deleting your account removes your name, email and other profile data at once. An anonymised record stays in the audit trail.

## You chatted with a business that uses Ecbot [#you-chatted-with-a-business-that-uses-ecbot]

The business decides what happens to its conversations. Ask it to erase your data: it can permanently delete your profile, conversations, messages and files from its workspace. If you cannot reach the business, write to us and we will help it respond.

## Ask us directly [#ask-us-directly]

Email security@ecbot.dev from the address linked to your account, or tell us which Page or shop you talked to. We answer within one month, and within the shorter time limits of Vietnamese law where they apply.

See the [Privacy policy](https://ecbot.dev/docs/legal/privacy-policy) for what we collect and how long we keep it.

## FAQ

### I removed Ecbot from my Facebook settings. Is my data gone?

When you remove Ecbot and choose to have your data deleted, Facebook tells us and we delete your linked Facebook login (your name, profile picture and access token) right away, along with the access tokens of the Pages you connected. You get a confirmation code you can quote to us.

### What happens to the Pages I connected?

A connected Page and its conversations belong to the business workspace, so they stay. We delete the Page access tokens that came from your login, which disconnects those Pages until someone reconnects them. A workspace member can remove the Page under Channels, which permanently deletes its conversations and messages from Ecbot.

### I chatted with a shop. How do I delete my messages?

Ask the shop. It controls that data and can erase your profile, conversations, messages and files from its workspace. If the shop does not answer, write to security@ecbot.dev and we will help.
