|
updateBlogAutoTransferSettings |
|
Description
Adds or removes the automatic transfer-usage upgrade feature for the specified blog.
Syntax
reseller.updateBlogAutoTransferSettings(version, username, password, blog_id, settings)
Request Fields
| • | version - Specifies the version number of the API. Set this to "1.3". This value is currently ignored, but will be useful for API changes in future versions. |
| • | username - Your reseller account username. |
| • | password - Your reseller account password. |
| • | blog_id - The ID number of the blog whose transfer-usage settings are to be changed. |
| • | settings - A struct containing the parameters: |
| upgrade_allowed - Boolean |
upgrade_quantity - Integer: the maximum amount that a blog may be upgraded. Allowed values are "100" - "900" for MB, and "1024" for 1GB, "2048" for 2GB, and so on for GBs. If other values are submitted, an error will be returned.
auto_transfer_upgrade_step_value - (optional) Indicates the increment amount that a blog enabled for automatic transfer upgrades will be upgraded. The blog will be updated in increments of the specified amount, as needed, until the upgrade_quantity is reached. Allowed values are "100" - "900" for MB, and "1024" for 1GB, "2048" for 2GB, and so on for GBs. If other values are submitted, an error will be returned.
Response Fields
Returns TRUE on success.