Set retention policy
Update the log retention policy for a namespace
PUT
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`.