PUT /api/tenants/{id}/retention

Upserts the retention settings for the database.

Request

Parameter Description Additional information
id The id of Tenant. Define this parameter in the url.
model The retention settings to upsert. Define this parameter in the body.

Example

{
  "Weekly": "sample string 1",
  "Monthly": "sample string 2",
  "Yearly": "sample string 3",
  "WeekOfYear": 1,
  "PointInTime": 4
}

Response

The upserted retention settings.

Example

{
  "Weekly": "sample string 1",
  "Monthly": "sample string 2",
  "Yearly": "sample string 3",
  "WeekOfYear": 1,
  "PointInTime": 4
}