This function retrieves the retention periods for bandwidth data.
uapi --output=jsonpretty \ --user=username \ Bandwidth \ get_retention_periods
{- "apiversion": 3,
- "func": "get_retention_periods",
- "module": "Bandwidth",
- "result": {
- "data": [
- {
- "interval": "5min",
- "retention": 2678400
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}