.pdf)
WHM Plugins
setupreseller function from within your custom script:
/xml-api/setupreseller function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/setupreseller
setupreseller function from within your custom script:
/json-api/setupreseller function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/setupreseller
setupreseller function takes the following variables as input.
The following variable is required: 1 — yes.
0 — no.
setupreseller function. 1 — yes.
0 — no.
https://example.com:2087/xml-api/setupreseller?user=bob&makeowner=1 in WebHost Manager will produce output similar to:
<setupreseller>
<result>
<status>1</status>
<statusmsg/>
</result>
</setupreseller>
https://example.com:2087/json-api/setupreseller?user=bob&makeowner=1 in WebHost Manager will produce output similar to:
{
"result":[
{
"status":1,
"statusmsg":null
}
]
}