Deletes a post topic and every space relation recorded for it.
Endpoint
Method:
DELETEPath:
/admin/topics/{topic_id}Edition: PRO
Controller:
ProAdminController@deleteTopicRoute source:
fluent-community-pro/app/Http/Routes/api.php:48Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires 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
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
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Topic ID extracted from the URL path.
Responses
Successful response