Skip to content

Product documentation

TenantAuditRetention

Per-tenant audit retention window configuration.

TenantAuditRetention

Per-tenant audit retention window configuration.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/audit-retentionTenant Audit Retention Getbearer, no extra scope
PUT/api/v1/audit-retentionTenant Audit Retention Putbearer, no extra scope

Operation details

GET /api/v1/audit-retention

Tenant Audit Retention Get

  • Operation ID: tenantAuditRetentionGet
  • Required scopes: bearer, no extra scope

Responses:

StatusDescriptionBody
200OKTenantAuditRetentionResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/audit-retention

Tenant Audit Retention Put

  • Operation ID: tenantAuditRetentionPut
  • Required scopes: bearer, no extra scope

Request body (required): application/jsonTenantAuditRetentionUpdateRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)