Skip to content

๐Ÿ—‘๏ธ Delete Forum Content

Endpoint: POST /api/admin/forum/content/{content_id}/delete/
Auth Required: โœ… Yes (Admin / Moderator Bearer Token)
Content-Type: application/json


๐Ÿ“Œ Description

This endpoint allows administrators or moderators to remove forum content that violates community guidelines.

The deletion can apply to: - forum threads - forum comments

By default, content is soft deleted to preserve audit history and transparency.


๐Ÿ” Authentication

Include a valid admin or moderator token in the request header:


๐Ÿ”— Path Parameter

Parameter Type Required Description
content_id UUID โœ… Thread or comment ID

๐Ÿงพ Request Body

```json { "content_type": "comment", "reason": "Use of abusive or offensive language" }