Create a redaction job Preview
Creates a redaction job. When a job is created, it will start to validate.
Parameters
- objectsobjectRequired
The objects to redact. These root objects and their related ones will be validated for redaction.
- validation_
behaviorenum Determines the validation behavior of the job. Default is
error
.Possible enum valueserror
The job will generate a validation error for every object that cannot be redacted. If there are any errors, all of them will need to be resolved before the job can run.
fix
The job will attempt to fix validation errors whenever possible. Some objects cannot be automatically fixed and will need to be resolved before the job can run.
Returns
Returns the newly created RedactionJob object.
Response
{ "id": "prj_123", "object": "privacy.redaction_job", "created": 1234567890, "livemode": true, "status": "validating", "validation_behavior": "error"}