Method: Redact

Redacts potentially sensitive info from a file

Description

Redacts potentially sensitive info from a document . This method has limits on input size, processing time, and output size.

When no detectors are specified in this request, the system will automatically choose what detectors to run.

HTTP request

POST https://dlp.rpa.insystechinc.com/api/dlp/redact

Request body

The request body contains data with the following structure:

{ 
  "redact":  {
    "redactType": string, 
    "sourceData": string, 
    "sourceFileName": string
    "detectors": [ string ]
    }
}

Response body

If successful, the response contains the file stream that is sent back to be downloaded.

When using the redactType of FILE, the file returned is converted to PDF, otherwise the file is returned same format it is sent.

Last updated