Skip to main content
PUT
Upload a dataset's sample redaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
integer
required

Unique identifier for a dataset.

Body

application/json

Body of PUT /datasets/{dataset_id}/redaction. The stored redaction's written_by comes from your access token, and dataset_id, created_at and updated_at are ignored.

columns
object[]
required

One entry per column that holds personal data. An array longer than maxItems is rejected with a 400 and nothing is stored.

Maximum array length: 20480
model_version
string | null

The privacy model that produced these columns. Only Narrative may set it: a caller with admin access on datasets may send it, and any other caller is refused with a 400. Leaving the field out clears a value already stored.

Maximum string length: 128

Response

OK