How to change the weekly data retention rate from 730 days to 365?

Document ID : KB000124934
Last Modified Date : 18/01/2019
Show Technical Document Details
We want to change the number of days of weekly data that is retained to reduce space demands.
By default, data is retained in Data Repository for the following number of days:
Polled data: 45 days
Hourly rollup data: 90 days
Daily rollup data: 365 days
Weekly rollup data: 730 days
CAPM 3.x
This is done with rest:

When I query my settings I see:
<GlobalRetentionDefinition version="1.0.0">
<Item version="1.0.0">
<Name>Global Retention Definition</Name>
<CreateTime>Sun Jul 29 14:44:48 2018 -0400</CreateTime>
*GTD = Greater than day, and refers to the weekly roll up table.

And to edit the value do a PUT:
Enter the retention periods that you want to change in the Body tab of the HTTP Request pane.
For example:
<GlobalRetentionDefinition version="1.0.0">
Additional Information:

The minimum number of days that Data Repository can retain data for is as follows:
Polled data: 2 days
Hourly rollup data: 8 days
Note: When the hourly retention rate is less than 32 days, the calendar heat chart views show daily data (only one sample per day). The charts appear sparse as a result.
Daily rollup data: 31 days
Weekly rollup data: 366 days