Changes the community status of one member, moving them between active, pending and blocked.
status must be active, pending or blocked; any other value is ignored and the call still reports success. Demoting another community admin is refused — their manager role has to be removed first.
Endpoint
Method:
PATCHPath:
/members/{user_id}Edition: Core
Controller:
MembersController@patchMemberRoute source:
fluent-community/app/Http/Routes/api.php:127Controller source:
fluent-community/app/Http/Controllers/MembersController.phpRequires the
delete_any_feedcommunity permission, which in practice means a community moderator or admin.Blocking a member hides their posts and comments from the portal.
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.
PATCH Update Member
Changes the community status of one member, moving them between active, pending and blocked.
Controller: MembersController@patchMember
Route source: fluent-community/app/Http/Routes/api.php:127
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
User ID extracted from the URL path.
Request Body
Responses
Successful response