Redact | C# SDK
The Pangea Redact API helps developers limit the sprawl of sensitive information by performing redaction using defined rules.
Redact
RedactClientRedact client.
var config = new Config("pangea_token", "pangea_domain");
var builder = new RedactClient.Builder(config);
var client = builder.Build();
Redact
RedactClient.RedactText(RedactTextRequest)Redact sensitive information from provided text.
var request = new RedactTextRequest.RequestTextBuilder("Jenny Jenny... 415-867-5309").Build();
var response = await client.RedactText(request);
Redact structured
RedactClient.RedactStructured(RedactStructuredRequest)Redact sensitive information from structured data (e.g., JSON).
var request = new RedactStructuredRequest.RequestStructureBuilder("Jenny Jenny... 415-867-5309").Build();
var response = await client.RedactStructured(request);