Custom PIIDelete Custom Tags

Delete Custom Tags

Remove a custom PII tag and all its associated configuration from the namespace.

{
  "data": {
    "tag_type": "CUSTOMER_ID"
  }
}
{
  "data": {
    "message": "CUSTOMER_ID deleted successfully."
  },
  "success": true,
  "error": { "message": "" }
}

Deletes a user-defined custom PII tag and all associated configuration.

Endpoint

MethodEndpoint
PUThttps://<domain>/api/vault/metadata/delete/custom-tag

Behavior after deletion

ItemBehavior
Previously masked dataNot retroactively changed — existing tokens remain valid
New masking requestsTag is no longer detected or masked
Re-creationAllowed — you can recreate a tag with the same name

After deleting a tag, any Mask API calls that relied on auto-detecting this tag type will no longer mask those values. Ensure downstream systems are updated before deletion.