contacts_anonymise
Anonymises a contact and all merged duplicates on a valid revDSG deletion request, clearing personal fields and redacting activity bodies. Refuses if any receivable or obligation is unpaid.
Instructions
Anonymise a contact on a valid revDSG deletion request, bounded by OR 958f: blanks the personal fields and redacts the activity bodies while keeping the row ids so posted-document FKs stay intact. Erases the whole merge identity (the contact plus every duplicate merged into it), so pass the SURVIVOR: a merge tombstone is refused and names it. Refuses while any unsettled receivable or obligation is still live (draft, issued, sent, accepted, confirmed, partially_paid), because an unpaid claim is an overriding interest and OR 958f Abs. 3 needs the retained record to stay readable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |