Asked by Elin Breime on Sep 5, 2024
Elin asks if it's possible to automatically delete HubSpot records using 1) API calls or 2) Programmable Automation (custom code actions).
Answered by Jake Kohl
Jake Kohl confirms that yes, records can be deleted via API using the respective object's DELETE endpoint (e.g., `/crm/v3/objects/contacts/{contactId}`). Since programmable automation (custom code) can make API calls, it can also be used to trigger these delete requests based on defined logic within the workflow.