# Delete protection

Sometimes you're syncing data that you really want to ensure teammates don't accidentally delete (e.g. CRM data).

For these cases, you can set the table in Whalesync to not delete records.

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2Fysxmtxd9GnUHeGxOUTYz%2FEdit%204.png?alt=media&#x26;token=99cf71bc-44dc-494f-b962-8ac83cf77fda" alt=""><figcaption><p>Delete protection means Whalesync will not delete records in HubSpot even with 2-way sync turned on</p></figcaption></figure>

### How it works

If you turn off deletes for a table, Whalesync will continue to 2-way sync all changes to that table *except* deletes.

### How to turn off deletes in table settings

1. Edit your Whalesync base
2. Select the desired table
3. Click the **Advanced settings** tab
4. Set the **Delete Protection** field to enabled
5. Save changes

{% hint style="warning" %}
Do not forget step 5 or your table setting will not be saved!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.whalesync.com/features/additional-features/delete-protection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
