Curl set quota on user

oc-internals

#1

Trying to set qouta but it doesnt changed. I use curl
curl -PUT http://admin:password@example.org/ocs/v1.php/cloud/users/user1 -d key="quota" -d value="10 MB"
What im doing wrong?


#2

are you sure that curl is a viable tool for this?


#3

what i can use instead? im trying to make all useres read only


#4

get solution at irc channel. have to use "PUT" instead of "-PUT"


#5

Glad to hear that you have found a solution