APIs & Integrations

TristanC
Participante

GDPR - Delete contact with API

resolver

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 Me gusta
1 Soluciones aceptada
Willson
Solución
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

resolver

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

Ver la solución en mensaje original publicado

2 Respuestas 2
CARTHUR6
Participante

GDPR - Delete contact with API

resolver

@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 Me gusta
Willson
Solución
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

resolver

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