Update account data-retention policy
update_data_retentionUpdate the account data-retention policy for sandbox archives and optionally disable snapshots or monitoring for new sandboxes. Enabling requires the exact phrase delete archived sandbox data.
Instructions
Update account data-retention policy. Requires an interactive sandbox session; API keys and legacy permanent tokens are refused. Enabling requires the exact confirmation phrase delete archived sandbox data. Disabling affects future archives only and cannot cancel deletion operations already accepted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_data_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| confirmation | No | Required when enabling and must exactly equal `delete archived sandbox data`. | |
| snapshotsOff | No | Turn snapshots off for every sandbox created from now on. Existing sandboxes keep their setting. While on, a create or fork that passes `snapshots: true` is refused with 409 `snapshots_off_for_account`. | |
| monitoringOff | No | Turn monitoring off for every sandbox created from now on. Existing sandboxes keep their setting. While on, a create or fork that passes `monitoring: true` is refused with 409 `monitoring_off_for_account`. |