> For the complete documentation index, see [llms.txt](https://samypesse.gitbook.io/algolia-faq/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://samypesse.gitbook.io/algolia-faq/configuration-and-relevance/how-can-i-delete-my-records.md).

# How can I delete my records?

There are two ways to delete your records:

1. For deleting a specific record, you need to know its `objectID` and pass it to the `index.deleteObject(objectID)` method.
2. For deleting several records, you'll have to use the `index.deleteByQuery` method that will accept the exact same arguments as a normal search query, and will delete every record that match this query.
