update_history_period
To update the period during which the account data is stored, use the account/update_history_period method:
svc=account/update_history_period¶ms={"itemId":<long>,
"historyPeriod":<int>}
Parameters
The request must contain the following parameters:
Name | Description |
---|---|
itemId | Resource (account) ID. |
historyPeriod | History period value, in days. If the value has mask 0x10000, the history period is measured in months. |
Response
If the history period is updated successfully, an empty object is returned.
Otherwise, an error code is returned.