Approve a pending comment
POST/api/v1/admin/comments/:commentId/approve
Marks a pending comment as published. Dual-auth: on the API-key path moderator_id (external user id) is required and resolves to the internal tenant user recorded on the moderation log; on the admin-JWT path the body field is ignored and the moderation log records moderatorId: null (admins are not tenant-scoped users). Both auth paths require the moderate_content capability.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response