APIs & Integrations

TristanC
Teilnehmer/-in

GDPR - Delete contact with API

lösung

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,

0 Upvotes
1 Akzeptierte Lösung
Willson
Lösung
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

lösung

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

Product Manager @ HubSpot

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
CARTHUR6
Teilnehmer/-in

GDPR - Delete contact with API

lösung

@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'

0 Upvotes
Willson
Lösung
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

lösung

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

Product Manager @ HubSpot