# Update reseller's hosting plan limits This function limits the packages that a reseller assigns to cPanel accounts. Endpoint: GET /setresellerpackagelimit Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `user` (string, required) The reseller's username. Example: "username" - `allowed` (integer) Whether the reseller can access the package hosting plan. * — Enable access. * — Disable access If you use this parameter, you also include the parameter. Enum: 0, 1 - `no_limit` (integer) Whether to grant the reseller unlimited package use. * — Grant the reseller unlimited package use. * — Use package limits. Enum: 0, 1 - `number` (integer) The maximum number of accounts to which the reseller can assign the package hosting plan. * If you use this parameter, you also include the parameter. * If you set a value for this parameter set the parameter to , the reseller use the hosting plan. Example: 5 - `package` (string) A hosting plan (package), to modify the reseller's access settings for it. Use this parameter with the or parameters. Example: "package1" ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "setresellerpackagelimit" - `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: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1