This will update prefix and suffix for all the child entities.
You’ll need to create the Policy.
METHOD: PUT
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"
}