Automatically remove sensitive data from messages.
HTML form for interacting with the function.
Returns the supplied text string with sensitive information redacted.
Parameters
Name | Description | Location | Type | Sample Value |
---|---|---|---|---|
Content-Type | Content type of the request | Header | application/json |
N/A |
text | Text to redact | Body | String | My email address is [email protected] |
Response
Sample 200
Response:
{
"ok": true,
"redacted": "My email address is <EMAIL_ADDRESS>"
}
Sample 400
Response:
{
"ok": false,
"error": "Missing required field: text."
}
Setting | Value |
---|---|
Runtime | Node (18.0) |
Entrypoint | src/main.js |
Build Commands | npm install |
Permissions | any |
Timeout (Seconds) | 15 |
Access token for the Pangea Redact API
Question | Answer |
---|---|
Required | Yes |
Sample Value | pts_7p4...5wl4 |
Documentation | Pangea: Configuration |