Change reseller user's package
change_reseller_user_packageAssign a different email hosting package to a reseller-managed user account, returning the updated user and rejecting invalid packages.
Instructions
Assigns a different package to a user. Returns 422 if the package does not exist. Returns the updated user. Reseller accounts only (regular accounts are refused, typically with 403) and not available while MXROUTE_USERNAME is in reseller|user form.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>",
"package": "<package>"
},
"name": "change_reseller_user_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Name of the package to assign, e.g. premium | |
| username | Yes | Username of the reseller's user account, e.g. johndoe |