mark_field_pii
Sets or clears the personal-data (PII) flag on one existing lineage link: isPii: true flags it, isPii: false removes the flag. Nothing else on the link changes (endpoints, transformLogic, notes are kept). The flag is governance metadata shown on the lineage arrow of the canvas; it does not mask or alter any data. It flags a lineage link, not an entity field: the PII classes of the table's own fields live in update_entity's kindMetadata.piiFields. The link must already exist: link_field_lineage creates one (and can set isPii at creation), delete_field_lineage removes one. REFUSED with an error, nothing written, on an unknown lineageId. Idempotent: sending the current value succeeds and changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isPii | Yes | true = flag the link as personal data, false = remove the flag | |
| lineageId | Yes | ID of the lineage link to tag (the `id` given to link_field_lineage when it was traced) | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |