Create subtopic
POST/api/subtopic
Creates a new subtopic and associates it with an existing topic. Requires a unique name and the parent topic ID. Admin only.
Request
Responses
- 201
- 400
- 401
- 403
Subtopic created successfully
Validation error (e.g. duplicate name or non-existent topic)
Missing or invalid JWT token
User does not have admin privileges