Command Palette
Search for a command to run

Set retention policy

Update the log retention policy for a namespace

PUT
/auth/v1/seed/{namespace}/logs/retention

Update the log retention policy for a namespace. Logs older than the retention period are automatically purged.

Path parameters

namespace
type: string
required
The namespace (user or organization) to set the retention policy for.

Body parameters

retention_days
type: integer
required
Number of days to retain logs. Minimum `1`, maximum `365`.