APIs & Integrations

AJLaPorte_diagr
Key Advisor

Bulk Delete Posts, Topics, and Comments

Hello,

I am trying to find a solution to connect to HubSpot so I can delete more than 10 entries at a time in the system. Is there a way to connect to the portals DB? or an API solutions already out there that allows this?

0 Upvotes
2 Replies 2
Dadams
HubSpot Employee
HubSpot Employee

Bulk Delete Posts, Topics, and Comments

Hi @ajlaporte

Items would need to be deleted one at a time, but there are APIs for deleting those objects so this could be automated.

Delete the blog post | COS Blog API

DELETE /content/api/v2/blog-posts/:blog_post_id - Marks the Blog Post as deleted. The Blog Post can be restored later via a POST to the restore-deleted endpoint.



0 Upvotes
AJLaPorte_diagr
Key Advisor

Bulk Delete Posts, Topics, and Comments

Hi David,

I know of the API, I was hoping there was something already out there to accomplish this. Thank you for the reference links.

-AJ

0 Upvotes