Skip to content

Revokes every FluentCommunity management role from a user, leaving their WordPress account and community profile intact.

Endpoint

  • Method: DELETE

  • Path: /admin/managers/{user_id}

  • Edition: PRO

  • Controller: ProAdminController@deleteManager

  • Route source: fluent-community-pro/app/Http/Routes/api.php:12

  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

  • Requires 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.

DELETE Delete Admin Manager

DELETE
/admin/managers/{user_id}

Revokes every FluentCommunity management role from a user, leaving their WordPress account and community profile intact.

Controller: ProAdminController@deleteManager
Route source: fluent-community-pro/app/Http/Routes/api.php:12

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

user_id*

User ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation