Curl set quota on user

Trying to set qouta but it doesnt changed. I use curl
curl -PUT -d key="quota" -d value="10 MB"
What im doing wrong?

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

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

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

Glad to hear that you have found a solution