correct email and quota examples

This commit is contained in:
Carla Schroder
2016-02-04 11:30:37 -08:00
parent c79cc3a6f8
commit 1741b5e066

View File

@@ -155,13 +155,17 @@ Status codes:
* 101 - user not found
* 102 - invalid input data
Example
^^^^^^^
* PUT ``http://admin:secret@example.com/ocs/v1.php/cloud/users/Frank -d
"key=email&value=frank@example.org&key=quota&value=100MB"``
* Updates the email address for the user ``Frank`` and sets his quota
Examples
^^^^^^^^
* PUT ``PUT http://admin:secret@example.com/ocs/v1.php/cloud/users/Frank -d
key="email" -d value="franksnewemail@example.org"``
* Updates the email address for the user ``Frank``
* PUT ``PUT http://admin:secret@example.com/ocs/v1.php/cloud/users/Frank -d
key="quota" -d value="100MB"``
* Updates the quota for the user ``Frank``
XML Output
^^^^^^^^^^