set_backup_retention
Set the backup retention policy for a VPS site.
Storage is billed on real stored bytes, so deeper history costs the customer, not the platform. Values are clamped to platform bounds; the response reports what was actually stored. Pass -1 to leave a knob unchanged, or reset=true to restore defaults.
Requires: API key with write scope.
Returns: {"site", "retention": {...}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| reset | No | ||
| keep_daily | No | ||
| keep_weekly | No | ||
| keep_monthly | No |