Apply minimal audit PII preset
POST
/api/admin/tenants/{tenantId}/audit/pii-config/preset/minimal
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/tenants/example/audit/pii-config/preset/minimal \ --header 'Authorization: Bearer <token>'Applies a minimal audit PII preset for non-GDPR contexts.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenantId
required
string
Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
success
required
boolean
tenant_id
required
string
preset
required
string
config
required
object
piiFields
object
email
boolean
name
boolean
phone
boolean
ipAddress
boolean
userAgent
boolean
deviceFingerprint
boolean
address
boolean
birthdate
boolean
governmentId
boolean
key
additional properties
eventLogDetailLevel
string
eventLogRetentionDays
integer
piiLogRetentionDays
integer
operationalLogRetentionDays
integer
key
additional properties
kv_key
required
string
gdpr_notes
Array<string>
note
string
key
additional properties
Example
{ "success": true, "tenant_id": "tenant_123", "preset": "gdpr", "config": { "piiFields": { "email": true, "name": true, "phone": true, "ipAddress": true, "userAgent": true, "deviceFingerprint": true, "address": true, "birthdate": true, "governmentId": true }, "eventLogDetailLevel": "standard", "eventLogRetentionDays": 90, "piiLogRetentionDays": 365 }, "kv_key": "pii_config:tenant_123", "gdpr_notes": [ "IP addresses are now treated as PII (GDPR Article 4)" ]}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}