Problems,
i have changed to CMD_API_DATABASES, have the correct login ('admin|user','adminpwd') and all the values that are needed and still get The request you've made cannot be executed because it does not exist in your authority level
$sock = new HTTPSocket;
$sock->connect('ssl://ipnumber',2222);
$sock->set_login('admin|user','adminpwd');
$sock->set_method('POST');
$sock->query('/CMD_API_DATABASES',
array('action' => 'create',
'name' => $slices[2],
'user' => $dauser,
'passwd' => $dapwd,
'passwd2' => $dapwd ));
$result = $sock->fetch_body();
echo $result;
Also tried the username, usrpwd but no difference.
Best regards
Marcus