Returns the paginated list of members who hold a FluentCommunity management role, with their role set and profile attached.
The optional search term matches display name, email address or login. Members whose profile is not active are excluded.
Endpoint
Method:
GETPath:
/admin/managersEdition: PRO
Controller:
ProAdminController@getManagersRoute source:
fluent-community-pro/app/Http/Routes/api.php:10Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET List Admin Managers
Returns the paginated list of members who hold a FluentCommunity management role, with their role set and profile attached.
Controller: ProAdminController@getManagers
Route source: fluent-community-pro/app/Http/Routes/api.php:10
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Search read via $request->get() in getManagers().
Responses
Successful response