title: Create user on Owncloud
body: <p>I searched, could not find a correct way to create new users on owncloud server. I tried to apply what <a href="https://doc.owncloud.org/server/8.0/admin_manual/configuration_user/user_provisioning_api.html" rel="nofollow">User Provisioning API</a> says, but I always get this response:</p>
  
  <pre><code>&lt;ocs&gt;
   &lt;meta&gt;
    &lt;status&gt;failed&lt;/status&gt;
    &lt;statuscode&gt;999&lt;/statuscode&gt;
    &lt;message&gt;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&lt;/message&gt;
   &lt;/meta&gt;
  &lt;/ocs&gt;
  </code></pre>
  
  <p><strong>My HTTP POST is:</strong></p>
  
  <pre><code>http://myuser:mypassword@ip_owncloud_server/owncloud/ocs/v1.php/cloud/users -d userid="Frank" -d password="frankspassword"
  </code></pre>
  
  <p>What is wrong here?</p>