provider Advanced POST /crm/v3/objects/contacts/gdpr-delete
@utdk/hubspot /crm/v3/objects/contacts/gdpr-delete
Permanently delete a contact (GDPR-compliant)
Permanently delete a contact and all associated content to follow GDPR. Use optional property `idProperty` set to `email` to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future. Learn more about [permanently deleting contacts](https://knowledge.hubspot.com/privacy-and-consent/how-do-i-perform-a-gdpr-delete-in-hubspot).

Try it

Authentication
Configure credentials for Contacts
post.crm.v3.objects.contacts.gdprDeletePurge
POST/crm/v3/objects/contacts/gdpr-delete
Permanently delete a contact and all associated content to follow GDPR. Use optional property `idProperty` set to `email` to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future. Learn more about [permanently deleting contacts](https://knowledge.hubspot.com/privacy-and-consent/how-do-i-perform-a-gdpr-delete-in-hubspot).

Input

The name of a property whose values are unique for this object. An alternative to identifying a contact by ID.

required

The ID of the contact to permanently delete.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import hubspot from '@utdk/hubspot';

await hubspot.post.crm.v3.objects.contacts.gdprDeletePurge()