Replace a workspace retention policy
Requires workspace.retention_policy.put at the scope in the URL. The key must cover that scope. Scope headers do not select the target. Replaces both windows. Both fields are required. Null retains data indefinitely. A shorter window makes older data expire. Runs of the retention expiry job delete it, and a large amount of expired data can take more than one run. Deleted data cannot be recovered. An explicit policy overrides inherited windows, including when both values are null. Creates a new policy version and preserves the previous version for audit.
Authorizations
Body
Days to keep a session that belongs to no experiment run, counted from the start of the session. A session expires as a whole, with all of its events, also while it still receives events. A session of an experiment run whose record was deleted, and a session that has no session event, are kept whatever this value is. From 1 to 3650. null keeps these sessions indefinitely.
x <= 3650