mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
correct email and quota examples
This commit is contained in:
@@ -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
|
||||
^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user