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"
Code Snippet
{ "data":{ "tag_type":"CUSTOMER_ID" } }
Response:
- Upon successful deletion, the response contains a JSON object with:
- A
data
field 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":"" } }