TenantRetentionRequest
PUT /tenants/self/retention: set or clear the tenant’s own run retention.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
hours | integer | null | How long the tenant’s runs are kept once they end, in whole hours: at least TenantRetention.MinHours, and at most the plan’s TenantRetention.PlanMaxHours (and the platform’s MaxHours). Null goes back to the platform default. |
Example
Section titled “Example”{ "hours": 0}Where it’s used
Section titled “Where it’s used”tenant.setRetention(PUT /tenants/self/retention)