Content
PII redaction
Detects and redacts personally identifiable information (PII) from text. Supports names, email addresses, phone numbers, UK postcodes, NHS numbers, and credit card numbers.
post/redact
Request body
Example request
{
"text": "Call John on 07911 123456 or email john@example.com",
"redact": "phone,email"
}Response
Redacted text
Example response
{
"counts": {
"phone": 1,
"email": 2
},
"entities": [
{
"type": "phone"
}
]
}