activity: fix credo nitpick
[akkoma] / docs / Admin-API.md
index 24944440ac61ba8e1426a5cc46b6664f991a8fa5..2edb31f3c2e71c6ac4b4a63083e386960c3cc80f 100644 (file)
@@ -2,14 +2,14 @@
 
 Authentication is required and the user must be an admin.
 
-## `/api/pleroma/admin/users?query={query}&only_local={only_local}&page={page}&page_size={page_size}`
+## `/api/pleroma/admin/users`
 
 ### List users
 
 - Method `GET`
-- Params:
+- Query Params:
   - `query`: **string** *optional* search term
-  - `only_local`: **bool** *optional* whether to return only local users
+  - `local_only`: **bool** *optional* whether to return only local users
   - `page`: **integer** *optional* page number
   - `page_size`: **integer** *optional* number of users per page (default is `50`)
 - Response: