Reseller Users

Change user's package

Assign a different package to a user

patch/reseller/users/{username}/package

Request

  • Base URL: https://api.mxroute.com
  • URL: https://api.mxroute.com/reseller/users/{username}/package
  • Auth: API key in header X-Server and API key in header X-Username and API key in header X-API-Key

Request body

packagestring required

Name of the package to assign

Example request

{
  "package": "premium"
}

Response

Package changed successfully

successboolean

Example response

{
  "data": {
    "username": "johndoe",
    "email": "john@example.com",
    "domain": "example.com",
    "package": "basic"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.