APIs & Integrations

TristanC
Participant

GDPR - Delete contact with API

SOLVE

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 Accepted solution
Willson
Solution
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

SOLVE

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

View solution in original post

2 Replies 2
CARTHUR6
Participant

GDPR - Delete contact with API

SOLVE

@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
Solution
HubSpot Employee
HubSpot Employee

GDPR - Delete contact with API

SOLVE

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