i try to restart service ssh /xml-api/restartservice?service=ssh and i dont get output from api (i need see "result") just this line http://www.cpanel.net/plugins/xmlapi/restartservice.html
Does the account you are using to access xml-api have permissions to restart services? (assuming it is not root user)
Ok, well there are two issues here: 1.) the service is "sshd" not "ssh", this is a documentation issue that should be fixed shortly. 2.) it should not be returning a blank page like that. Is there anything in the error_log to accompany it? Is this being run as the root user? If you need assistance you can open a ticket with us titled "attn: qa matt xml-api restartservice" and I can troubleshoot this on your server for you. What it should be returning is: Code: <restartservice> − <restart> <rawout/> <result>0</result> <service>ssh</service> <servicename>No such service</servicename> </restart> </restartservice> − <!--