GDPR - Delete contact with API

Hi, I would like to be able to delete a contact ‘GDPR-style’ with an API call. But it seems that the delete contact endpoint is only a classic delete.

Is there a way to choose how to delete a contact ?

Thanks,

Hi @TristanC

I can confirm that this is currently not functionality we support via the API. This is however, listed as an idea on our Ideas Forum, here.

I’d recommend heading over to up-vote this idea! Thanks

@Willsonhello, im using the node js dependency available -v 5.0.0 unfortnunatly i get `“message”: “HTTP request failed”,
“status”: 404` when use the function call -

hubspotClient.crm.contacts.gdprApi.purgeByEmail()

Kindly assist. let me know if this is deprecated or theres a better alternative’