I searched, could not find a correct way to create new users on owncloud server. I tried to apply what User Provisioning API says, but I always get this response:
<ocs>
<meta>
<status>failed</status>
<statuscode>999</statuscode>
<message>Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT: debug output: http request method: POST http request uri: /owncloud/ocs/v1.php/cloud/users%20-d%20userid=%22Frank%22%20-d%20password=%22frankspassword%22</message>
</meta>
</ocs>
My HTTP POST is:
http://myuser:mypassword@ip_owncloud_server/owncloud/ocs/v1.php/cloud/users -d userid="Frank" -d password="frankspassword"
What is wrong here?