This API allows users to update personally identifiable information (PII) elements that have been incorrectly identified by machine learning, enabling users to correct the data
For authentication, include the following token in the request headers:
Headers: {“Authorization”: “Bearer <AUTH_TOKEN>”}
Note: To obtain the <auth token>
, please refer to the Step-by-Step Guide to Obtain Your Auth Token
Endpoint: /data-scan/pi-elements/update
Method: PUT
Sample Input :
{ "data_source_name": "Snowflake", "object_name": ["CustomerData", "PublicSchema", "CustomerInfotable"], "column_name": "Address", "pi_details": ["PHONE_NUMBER", "EMAIL_ADDRESS"] }
Request Parameters:
- data_source_name (string): The name of the data source where the object is located.
- object_name (array of strings): The path to the specific object in the format Eg [database, schema, table].
- column_name (string): The name of the column for which the PII elements are being updated.
- pi_details (array of strings): The user can give PII details for the particular column that is falsely identified by ML.
Sample Response:
{ "data": { "message": "pi_details updated successfully for object name: ["CustomerData","Public","CustomerInfo"], column_name: Address as ["EMAIL_ADDRESS"]." }, "success": "true", "error": { "message": "" } }