Execute right to be forgotten
Version:
Use the client.ExecuteRightToBeForgotten to anonymize a contact. Executing right to be forgotten makes the following changes to a contact:
- Deletes all identifiers - known and anonymous
- Clears all contact facets or facet properties marked PII sensitive
- If a facet is marked
[PIISensitive], the entire facet is deleted. - If a facet property is marked
[PIISensitive], that property is reset to its default value.
- If a facet is marked
ConsentInformation.ExecutedRightToBeForgottenis set totrue
If a conflict occurs, the operation will automatically retry. The contact is updated in memory when the operation succeeds. The following example demonstrates how to use the client.ExecuteRightToBeForgotten() method.
Note
Marketing Automation enrollments are not deleted when the right to be forgotten is executed. You can choose to manually purge the contact from all plans before you call the ExecuteRightToBeForgotten() method. For more information, see Marketing Automation Operations API.
If you have suggestions for improving this article, let us know!