Merge branch 'fix/1658-invite-send' into 'develop'
[akkoma] / docs / API / admin_api.md
index 58d7023472d0202aa023b7e40790423346d48761..57fb6bc6a9c7a273ab2f741dad0ddfe66ccc20ed 100644 (file)
@@ -392,6 +392,19 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
   - `email`
   - `name`, optional
 
+- Response:
+  - On success: `204`, empty response
+  - On failure:
+    - 400 Bad Request, JSON:
+
+    ```json
+      [
+        {
+          "error": "Appropriate error message here"
+        }
+      ]
+    ```
+
 ## `GET /api/pleroma/admin/users/:nickname/password_reset`
 
 ### Get a password reset token for a given nickname