saveacllist function from within your custom script:
/xml-api/saveacllist 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/saveacllist
saveacllist function from within your custom script:
/json-api/saveacllist 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/saveacllist
saveacllist function takes the following variables as input:
The following variable is required: 1 means the option is enabled.
0 means the option is disabled.
saveacllist function. saveacllist function. 1 — yes.
0 — no.
http://example.com:2087/xml-api/saveacllist?acllist=bob&acl-ssl=1 in WebHost Manager will produce output similar to:
<saveacllist>
<results>
<status>1</status>
<statusmsg>ACL List bob saved.</statusmsg>
</results>
</saveacllist>
https://example.com:2087/json-api/saveacllist?acllist=bob&acl-ssl=1 in WebHost Manager will produce output similar to:
{
"results":[
{
"status":1,
"statusmsg":"ACL List bob saved."
}
]
}
Copyright © cPanel 2000-2009.