Update metadata(prefix,suffix) for parent PII entity

This will update prefix and suffix for all the child entities.

You’ll need to create the Policy.

METHODPUT

Endpoint: metadata/update-auto-detect

For authentication, include the following token in the request headers:

Headers: {“Authorization”: “Bearer <AUTH_TOKEN>”}

Request format:

{
    "data": {
        "policy_name": "Add Prefix Suffix Policy",
        "metadata": [
            {
                "entity_name": "PERSON",
                "format_prefix": "{Person Name ",
                "format_suffix": "}"
            },
            {
                "entity_name": "PHONE_NUMBER",
                "format_prefix": "{Personal PhoneNumber ",
                "format_suffix": "}"
            }
        ]
    }
}

Response format:

{
    "message": "Successfully updated metadata for entities: PERSON,PHONE_NUMBER"
}

 

Updated on January 22, 2025
What are your feelings

© All Rights Reserved 2023 | Protecto