Hi!
I want delete all Custom Objects in a single api call, because I need to insert data after. So, it would be easier do delete everything and the re/insert new data.
Checking documentation I found this POST url /crm/v3/objects/{objectType}/batch/archive that could potentially do what I need. However, this endpoint requires an ID on its body.
I also saw this thread https://community.hubspot.com/t5/APIs-Integrations/Delete-all-the-Custom-Object-records-in-single-shot/td-p/686055 which one needed the same thing as I do and the suggestion was to use the same endpoint.
However it doesn’t make sense to me… If I will need the Object ID, then first I will need to select the Custom Object record, get its ID and then use it in the batch archive endpoint… it doesn’t seem a delete all call for me. It seems a delete one by one call actually and then I will have to call the endpoint many times.
What am I missing her?
Thanks!