---
title: "Moderate Comment"
method: POST
path: "/essay-engagement/comments/{comment_id}/moderate"
tags: ["essay engagement"]
---

# Moderate Comment

`POST /essay-engagement/comments/{comment_id}/moderate`

## Request

- Base URL: `https://api.verdun.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.verdun.ai/essay-engagement/comments/{comment_id}/moderate`
- Auth: none declared

Approve (idempotent) or delete the comment. The same token still deletes
an already-approved comment later.

## Path parameters

- `comment_id` string, required

## Request body `application/x-www-form-urlencoded`

- BodyModerateCommentEssayEngagementCommentsCommentIdModeratePost
  - `token` string: Moderation token.
  - `action` string: `approve` or `delete`.

## Response `200`

Successful Response

## Other responses

- `400`: Unknown action.
- `404`: Unknown comment or wrong token.
- `413`: Request body exceeds the 8 KiB limit.
- `422`: Validation Error
- `429`: Too many moderation requests from this IP.

---

[API](https://skmtc.dev/verdun/apis/verdun-api.md) - [All operations](https://skmtc.dev/verdun/apis/verdun-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verdun/apis/verdun-api/revisions/35a2a6ebedda?raw)
