This endpoint allows users to delete the user added custom personal data elements/entities tag. It requires a PUT request with the specified input structure.
Note: To obtain the <auth token>, please refer to the Step-by-Step Guide to Obtain Your Auth Token
Route: /metadata/delete/custom-tag.
Request Type: PUT.
Input Structure:
The input structure consists of a JSON object with a data field containing the tag_type to be deleted. In the provided example, the tag_type is "CUSTOMER_ID"
- policy_name:Name of the Policy.(Prerequisite: Create the Policy)
Code Snippet
{
"data":{
"policy_name":"Testing_Default_Policy"
"tag_type":"CUSTOMER_ID"
}
}
Response:
- Upon successful deletion, the response contains a JSON object with:
- A
datafield containing a success message indicating that the custom tag has been deleted successfully.
- A
{
"data":{
"message":"custom tag CUSTOMER_ID deleted successfully."
},
"success":"true",
"error":{
"message":""
}
}