# Update reseller's bandwidth and disk quotas This function sets a reseller's bandwidth and disk quotas. Endpoint: GET /setresellerlimits Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `user` (string, required) The reseller's username. Example: "username" - `account_limit` (integer) The reseller's maximum total number of accounts. The system enforces this maximum if you set the value to . Example: 10 - `bandwidth_limit` (integer) The reseller's total bandwidth limit. The system enforces this limit if you set the value to . Example: 1073741824 - `diskspace_limit` (integer) The reseller's total disk space usage limit. The system enforces this limit if you set the value to . Example: 1073741824 - `enable_account_limit` (integer) Whether to limit the reseller's total number of accounts. * — Limit. * — Do limit. Use this parameter with the parameter. Enum: 1, 0 - `enable_overselling` (integer) Whether the reseller can oversell accounts. * — The reseller can oversell accounts. * — The reseller oversell accounts. The system enforces this limit if you set the value to . Enum: 1, 0 - `enable_overselling_bandwidth` (integer) Whether the reseller can oversell bandwidth. * — The reseller can oversell bandwidth. * — The reseller oversell bandwidth. The system enforces this limit if you set the and the values to . Enum: 1, 0 - `enable_overselling_diskspace` (integer) Whether the reseller can oversell disk space. * — The reseller can oversell disk space. * — The reseller oversell disk space. The system enforces this limit if you set the and the values to . Enum: 1, 0 - `enable_package_limit_numbers` (integer) Whether to apply package limit numbers to the reseller. *  — Enable package limit numbers. * — Disable package limit numbers. Enum: 1, 0 - `enable_package_limits` (integer) Whether to apply package limits to the reseller. * — Enable package limits. * — Disable package limits. Enum: 1, 0 - `enable_resource_limits` (integer) Whether to limit the reseller's resources. * — Limit resources. * — Do limit resources. Use this parameter with the , , , , , , , and parameters. Enum: 1, 0 ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "setresellerlimits" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * — Success. * — Failed. Check the field for more details. Enum: 1, 0 - `metadata.version` (integer) The version of the API function. Example: 1