--- title: "SetPII" slug: "setpii" updated: 2023-07-06T10:47:44Z published: 2023-07-06T10:47:44Z canonical: "docs.datajet.app/setpii" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # SetPII Marks a field as containing private data. | Key | Value(s) | Description | | --- | --- | --- | | method | "SetPII" | Marks a field as containing private data. | | project | "ProjectName" | Name of project | | isProtected | true/false | If true, data will be displayed as "*". If false, the data will be displayed as stored. | | fields[] | [ "table1.field1", "table2.field1", "table2.field2", "..." ] | Fully qualified list of fields to mark as private. | Use Set PII to mask personal data within the system. Protected data will be displayed as "*" in dataviews etc. Note: Private data is **only** visible in raw form to Super-Administrators. (Speak to a DataJet administrator for details on configuring super-administrators). ```json { "method": "SetPII", "project": "RegressionDB", "isProtected": true, "fields": [ "customer.fname", "customer.address1", ] } ```