setsiteip function from within your custom script:
/xml-api/setsiteip 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/setsiteip
setsiteip function from within your custom script:
/json-api/setsiteip 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/setsiteip
setsiteip function takes the following required variable as input: setsiteip function. setsiteip function call. 1 — success.
0 — failure.
setsiteip function call.
https://example.com:2087/xml-api/setsiteip?user=joe&ip=127.0.0.1
will produce output similar to:
<setsiteip>
<result>
<status>1</status>
<statusmsg/>
</result>
</setsiteip>
https://example.com:2087/json-api/setsiteip?user=joe&ip=127.0.0.1
will produce output similar to:
{
"result":[
{
"status":1,
"statusmsg":null
}
]
}
Copyright © cPanel 2000-2009.