List tenant audit PII configurations
GET
/api/admin/settings/audit/pii-config
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/settings/audit/pii-config \ --header 'Authorization: Bearer <token>'Lists tenant-specific audit PII configurations stored in AUTHRIM_CONFIG. If KV is unavailable, returns an empty list with an explanatory note.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
tenants
Array<object>
object
tenant_id
string
config
Tenant PII configuration.
object
key
additional properties
has_custom_config
boolean
key
additional properties
count
integer
default_config
Default tenant PII configuration.
object
key
additional properties
note
string
error
string
key
additional properties
Example
{ "tenants": [ { "tenant_id": "tenant_123", "config": { "piiFields": { "email": true, "ipAddress": true }, "eventLogDetailLevel": "standard", "eventLogRetentionDays": 90, "piiLogRetentionDays": 365 }, "has_custom_config": true } ], "count": 1, "default_config": { "piiFields": { "email": true, "name": true, "ipAddress": true }, "eventLogDetailLevel": "standard", "eventLogRetentionDays": 90, "piiLogRetentionDays": 365 }}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"}