I am trying to create the user through owncloud User Provisioning API, when trying to request the below api:
curl -X POST http://admin:secret@localhost/owncloud/ocs/v1.php/cloud/users -d userid="user1" -d password="user1"
I get the response:
<?xml version="1.0"?>
<ocs>
<meta>
<status>failure</status>
<statuscode>997</statuscode>
<message>Unauthorised</message>
</meta>
<data/>
</ocs>
admin:secret
username/pass combination? That's the same error you get when the admin's password is incorrect. Also, make sure you're pointing to the right http/https endpoint as these might yield different results. You can test againsthttps://admin:[email protected]
to see this working. – Alfageme