.pdf)
WHM Plugins
set_tweaksetting function from within your custom script:
/xml-api/set_tweaksetting 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/set_tweaksetting
set_tweaksetting function from within your custom script:
/json-api/set_tweaksetting 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/set_tweaksetting
Main.
value parameter sets the option to undef. Specifying the value parameter without a value results in an empty parameter.
set_tweaksetting.
https://example.com:2087/xml-api/set_tweaksetting?key=update_log_analysis_retention_length&value=90 in WebHost Manager will produce output similar to:
<result>
<metadata>
<version>1</version>
<reason>OK</reason>
<result>1</result>
<command>set_tweaksetting</command>
</metadata>
</result>
https:example.com:2087/json-api/set_tweaksetting?key=update_log_analysis_retention_length&value=90 in WebHost Manager will produce output similar to:
{
result:{
metadata:{
version:1,
reason:'OK',
result:1,
command:'set_tweaksetting'
}
}
}
Copyright © cPanel 2000–2011.