Merge branch 'feature/status-by-id-account-view' into 'develop'
[akkoma] / docs / API / admin_api.md
index c455047cc1fa529996021571ec8e68a17f1a11c1..639c3224ddb7853b7c0d1cbe58e40e7c20bd792b 100644 (file)
@@ -511,7 +511,23 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
   - `discoverable`
   - `actor_type`
 
-- Response: none (code `200`)
+- Response:
+
+```json
+{"status": "success"}
+```
+
+```json
+{"errors":
+  {"actor_type": "is invalid"},
+  {"email": "has invalid format"},
+  ...
+ }
+```
+
+```json
+{"error": "Unable to update user."}
+```
 
 ## `GET /api/pleroma/admin/reports`