Fix admin api docs for creating users
authorAngelina Filippova <linakirsanova@gmail.com>
Fri, 13 Sep 2019 03:31:16 +0000 (03:31 +0000)
committerkaniini <ariadne@dereferenced.org>
Fri, 13 Sep 2019 03:31:16 +0000 (03:31 +0000)
docs/api/admin_api.md

index d79c342be3c092d1337ad037fa228ef6b1324a97..fd608c4598720f62012a91d133a60e8fecc9b90e 100644 (file)
@@ -60,9 +60,13 @@ Authentication is required and the user must be an admin.
 
 - Method: `POST`
 - Params:
-  - `nickname`
-  - `email`
-  - `password`
+  `users`: [
+    {
+      `nickname`,
+      `email`,
+      `password`
+    }
+  ]
 - Response: User’s nickname
 
 ## `/api/pleroma/admin/users/follow`