Skip to content

Deletes a post topic and every space relation recorded for it.

Endpoint

  • Method: DELETE

  • Path: /admin/topics/{topic_id}

  • Edition: PRO

  • Controller: ProAdminController@deleteTopic

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

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

  • Requires the FluentCommunity community-admin permission (or a WordPress super admin) — a narrower role than the endpoints that create topics.

  • Requires FluentCommunity Pro.

  • Destructive: the topic term and its space relations are removed; posts previously tagged with it lose the tag.

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 Topic

DELETE
/admin/topics/{topic_id}

Deletes a post topic and every space relation recorded for it.

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

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

topic_id*

Topic 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