.pdf)
WHM Plugins
savemxs function from within your custom script:
/xml-api/savemxs 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/savemxs
savemxs function from within your custom script:
/json-api/savemxs 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/savemxs
1.
example.com)
savemxs function. 1 — success.
0 — failure.
1 in this case.
savemxs in this case.
https:example.com:2087/xml-api/savemxs?api.version=1&domain=example.com&name=mail.example.com&exchange=example.com&preference=10 in WebHost Manager will produce results similar to:
<result>
<metadata>
<result>1</result>
<reason>Bind reloading on server1 using rndc zone: [example.com]</reason>
<version>1</version>
<command>savemxs</command>
</metadata>
</result>
https:example.com:2087/json-api/savemxs?api.version=1&domain=example.com&name=mail.example.com&exchange=example.com&preference=10 in WebHost Manager will produce results similar to:
{
"metadata":{
"result":1,
"reason":"Bind reloading on server1 using rndc zone: [example.com]\n",
"version":1,
"command":"savemxs"
}
}