To update history period (storage period for account data), use the command account/update_history_period:
svc=account/update_history_period¶ms={"itemId":<long>, "historyPeriod":<int>}
Parameters
Name | Description |
---|---|
itemId | resource (account) ID |
historyPeriod | history period value, days |
Response
{} /* empty object if execution successful, if not - error code */