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.
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 |