Description

This function enables a cPanel Market provider.

Examples 


https://hostname.example.com:2087/cpsess##########/json-api/enable_market_provider?api.version=1&name=cPStore
https://hostname.example.com:2087/cpsess##########/xml-api/enable_market_provider?api.version=1&name=cPStore
whmapi1 enable_market_provider name=cPStore

{
  "metadata": {
    "version": 1,
    "reason": "OK",
    "result": 1,
    "command": "enable_market_provider"
  }
}
<result>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>enable_market_provider</command>
    </metadata>
</result>

Parameters

ParameterTypeDescriptionPossible valuesExample
namestring

Required

The cPanel Market provider's name.

A valid cPanel Market provider name.cPStore

Returns

This function only returns metadata.