APIs & Integrations

STurbadkar4
Member

Delete Bulk Custom Objec t Records

SOLVE

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?

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Delete Bulk Custom Objec t Records

SOLVE

@STurbadkar4 ,

If you need to filter the records then delete, you will need to perform two calls.  One to the CRM Search endpoint to collect the IDs and then another to the object batch archive endpoint to archive the records.

View solution in original post

0 Upvotes
1 Reply 1
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Delete Bulk Custom Objec t Records

SOLVE

@STurbadkar4 ,

If you need to filter the records then delete, you will need to perform two calls.  One to the CRM Search endpoint to collect the IDs and then another to the object batch archive endpoint to archive the records.

0 Upvotes