> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revenuebee.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# contacts.erase

> Delete a customer and everything about them, for good.

For a request to be forgotten. It deletes the customer's details, interactions, notes, tasks, goals, revenue and timeline, and cannot be undone.

```ts theme={null}
const [result, error] = await crm.contacts.erase({ partyId: contact.id });
// { erased: true }
```

**partyId** `string` *required*

The CRM's id for the customer, from [`contacts.upsert`](https://docs.revenuebee.ai/sdk/upsert-contact) or
[`contacts.resolve`](https://docs.revenuebee.ai/sdk/resolve-contact).

> [!WARNING]
>
> The CRM only erases its own copy. A customer still in a connected Stripe account comes back with the next sync. Delete
> them in Stripe too.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.