# Delete Bulk Custom Objec t Records

**URL:** <https://community.hubspot.com/t/delete-bulk-custom-objec-t-records/60348>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, professional\
**Created:** [July 5, 2022, 1:01pm UTC](https://community.hubspot.com/t/delete-bulk-custom-objec-t-records/60348 "2022-07-05T13:01:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![STurbadkar4](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@STurbadkar4](https://community.hubspot.com/u/STurbadkar4)\
**Post date:** [July 5, 2022, 1:01pm UTC](https://community.hubspot.com/t/delete-bulk-custom-objec-t-records/60348/1 "2022-07-05T13:01:44Z")

</div>

I wanted to delete bulk of records from custom objects. Do we have any API for it?

can we filter data and delete all of them at once?

or how can we delete multiple custom object records searched using hubspot search API?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [July 11, 2022, 2:42pm UTC](https://community.hubspot.com/t/delete-bulk-custom-objec-t-records/60348/2 "2022-07-11T14:42:18Z")

</div>

@STurbadkar4 ,

If you need to filter the records then delete, you will need to perform two calls. One to the [CRM Search endpoint](https://developers.hubspot.com/docs/api/crm/search) to collect the IDs and then another to the [object batch archive endpoint](https://developers.hubspot.com/docs/api/crm/crm-custom-objects) to archive the records.
