Right now you're sending a POST. Try to add '-X PUT' as option of your curl command.
Alessandro On Sat, Nov 21, 2015 at 12:15 AM, coreymj <[email protected]> wrote: > Ok - I found out some more information on my attempt to change a user's > display name via the User Provisioning API. After accounting for a type in > the documentation, this is what my curl query looks like: > > curl "https://admin:admin@localhost/owncloud/ocs/v1.php/cloud/users/juser" > -d key="display" -d value="Joe User" -k -v > > Then I discovered the '-v' param, and sure enough: > >> POST /owncloud/ocs/v1.php/cloud/users/juser HTTP/1.1 > ... > < HTTP/1.1 405 Method Not Allowed > ... > > Anyone have an idea why this is not allowed? > > Thanks! > Corey. > > > > -- > View this message in context: > http://owncloud.10557.n7.nabble.com/User-Provisioning-API-changing-user-info-tp16112p16115.html > Sent from the Developers mailing list archive at Nabble.com. > _______________________________________________ > Devel mailing list > [email protected] > http://mailman.owncloud.org/mailman/listinfo/devel _______________________________________________ Devel mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/devel
