List Redactions
Retrieve all redaction rules configured for an account.Path Parameters
string
required
Account identifier (format:
acc_ followed by 27 alphanumeric characters)Headers
string
required
Bearer token for authentication
Response
boolean
Indicates if there are more records to paginate through
array
Get Redaction
Retrieve details of a specific redaction rule.Path Parameters
string
required
Account identifier
string
required
Redaction rule identifier
Headers
string
required
Bearer token for authentication
Response
Returns a single redaction object with the same structure as described in the List Redactions response.Create Redaction
Create a new redaction rule to protect sensitive data.Path Parameters
string
required
Account identifier
Headers
string
required
Bearer token for authentication
Request Body
string
required
Name of the redaction rule
string
Description of what this rule redacts
string
required
JSON path to the field to be redacted (e.g.,
$.password, $.user.email)string
required
Type of redaction:
mask, remove, hash, or replacestring
Value to use when redactionType is
replaceboolean
Whether this redaction rule should be active (default: true)
Response
Returns the created redaction object.Update Redaction
Update an existing redaction rule.Path Parameters
string
required
Account identifier
string
required
Redaction rule identifier
Headers
string
required
Bearer token for authentication
Request Body
string
required
Name of the redaction rule
string
Description of what this rule redacts
string
required
JSON path to the field to be redacted
string
required
Type of redaction:
mask, remove, hash, or replacestring
Value to use when redactionType is
replaceboolean
required
Whether this redaction rule should be active
Response
Returns the updated redaction object.Delete Redaction
Delete a redaction rule.Path Parameters
string
required
Account identifier
string
required
Redaction rule identifier
Headers
string
required
Bearer token for authentication
Response
string
ID of the deleted redaction rule
boolean
Flag indicating the redaction rule was successfully deleted
Redaction Types
Mask
Replaces characters with asterisks while preserving format:john@example.com→j***@*******.com4111111111111111→4***********1111
Remove
Completely removes the field from the data:{"password": "secret123"}→{}
Hash
Replaces the value with a SHA-256 hash:"secret123"→"a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3"
Replace
Replaces the value with a specified replacement:"secret123"→"[REDACTED]"(when replacementValue is"[REDACTED]")