From ddd085b3b06379e70798cdedb74b92effdec8f59 Mon Sep 17 00:00:00 2001 From: Corentin Mercier <46066895+MercierCorentin@users.noreply.github.com> Date: Fri, 12 Apr 2019 19:29:36 +0200 Subject: [PATCH] Add options for add a new user Changements based on https://github.com/nextcloud/server/blob/090aa512341d0b86bf4d90474f3ec9064e5a0717/apps/provisioning_api/lib/Controller/UsersController.php#L214 Signed-off-by: MercierCorentin --- .../configuration_user/instruction_set_for_users.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_user/instruction_set_for_users.rst b/admin_manual/configuration_user/instruction_set_for_users.rst index c0cc11ec6..db4349bda 100644 --- a/admin_manual/configuration_user/instruction_set_for_users.rst +++ b/admin_manual/configuration_user/instruction_set_for_users.rst @@ -12,7 +12,13 @@ basic HTTP authentication header. * HTTP method: POST * POST argument: userid - string, the required username for the new user -* POST argument: password - string, the required password for the new user +* POST argument: password - string, the password for the new user, leave empty to send welcome mail +* POST argument: displayName - string, the display name for the new user +* POST argument: email - string, the email for the nex user, required if password empty +* POST argulent: groups - array, the groups for the new user +* POST argument: subadmin - array, the groups in wich the new user is subadmin +* POST argument: quota - string, quota for the new user +* POST argument: language - string, language for the new user Status codes: