Skip to content

Registers a DSR: it mints (or reuses) the subject's key-ring row, tokenizes the subject reference, derives the affected §2 classes and seals the "received" custody event + self-audit in one transaction.

POST
/v1/m/compliance/erasure
curl --request POST \
--url https://example.com/v1/m/compliance/erasure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "aliases": [ "example" ], "case_ref": "example", "data_classes": [ "example" ], "reason": "example", "subject_kind": "user", "subject_ref": "example" }'

Registers a DSR: it mints (or reuses) the subject’s key-ring row, tokenizes the subject reference, derives the affected §2 classes and seals the “received” custody event + self-audit in one transaction.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
aliases
Array<string>
case_ref
required
string
data_classes
Array<string>
reason
string
subject_kind
required
string
Allowed values: user agent session document identity
subject_ref
required
string

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}