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

# Deleting Objects

> Learn how to delete objects in the MX Platform API.

When you delete an object on MX, associated child objects are also removed automatically:

* Deleting a **member** removes all linked accounts, transactions, and holdings.
* Deleting a **user** removes all connected members (and their accounts, transactions, and holdings).

<Warning>
  Deleting a user is permanent. Deleted users can never be restored.
</Warning>

MX uses a two-phase deletion process. Deleted objects first enter a **soft-deleted** state, then are permanently purged approximately two weeks later. Soft-deleted items cannot be restored through the API, though MX may manually restore soft-deleted members in limited circumstances before permanent purging occurs.

If a new member is created for the same user and institution with identical credentials, any soft-deleted member will be immediately purged and a fresh record created.

For OAuth members specifically:

* Members in a `PENDING` state are **immediately purged** upon deletion by MX and cannot be recovered.
* Members in other states are soft-deleted and potentially recoverable through MX support before permanent purging.

Once fully purged, all data is permanently lost and cannot be retrieved.
