Description

This function sets a cPanel & WHM server to a specified support tier.

Examples 


https://hostname.example.com:2087/cpsess##########/json-api/set_tier?api.version=1&tier=current
https://hostname.example.com:2087/cpsess##########/xml-api/set_tier?api.version=1&tier=current
whmapi1 set_tier tier=current

{  
   "data":{  
      "tier":"current"
   },
   "metadata":{  
      "reason":"Update tier successfully changed to current",
      "version":1,
      "result":1,
      "command":"set_tier"
   }
}
<result>
    <metadata>
        <command>set_tier</command>
        <version>1</version>
        <result>1</result>
        <reason>Update tier successfully changed to current</reason>
    </metadata>
    <data>
        <tier>current</tier>
    </data>
</result>

   

Parameters

ParameterTypeDescriptionPossible valuesExample

tier

string

Required

The support tier to use.

  • edge
  • current
  • release
  • stable
current

 

Returns

ReturnTypeDescriptionPossible valuesExample
tierstringThe server's new support tier.
  • edge
  • current
  • release
  • stable
current