forum.moderate-archive-reply
Remove a reply from publication as a moderator.
POST
/api/v1/{locale}/forum/topics/{slug}/moderation/archive-replyAPI scope forum.moderate-archive-reply
Request
Send Authorization: Bearer <key> with each request.
Requires a signed-in player and applicable permission.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
slug | string | Required | URL slug of the resource. |
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
moderation_target | integer | Required | Target reply database ID. |
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request POST \
-H "Authorization: Bearer $MINEXON_API_KEY" \
-b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
-H 'Content-Type: application/json' \
--data '{
"moderation_target": 1
}' \
"${MINEXON_BASE_URL}/api/v1/en/forum/topics/example/moderation/archive-reply"Response
HTTP 200 · application/json
| Field | Type | Requirement | Description |
|---|---|---|---|
next | string | Required | Next location returned by the CMS or provider. |
notices | string[] | Conditional | Success and state codes. |
error | string | Conditional | Error code. |
errors | string[] | Conditional | Field or operation error codes. |
{
"next": "/en/forum/topic/example"
}When the form is shown again, the response can contain data instead of next. Check the HTTP status and the error fields together.
Form response fields
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
topic | object | Conditional | Topic data and related replies. |
categories | array or object | Conditional | Available categories or a map keyed by category. |
categoryTrails | array or object | Conditional | Category paths. |
relatedTopics | array or object | Conditional | Related topics. |
memberRoles | array or object | Conditional | Visible author role badges. |
forumCanReply | boolean | Conditional | Whether the current account can reply. |
forumCanManage | boolean | Conditional | Category moderation permission. |
forumCanFollow | boolean | Conditional | Topic follow permission. |
forumCanVote | boolean | Conditional | Poll-voting permission. |
forumCanEditTopic | boolean | Conditional | Permission to edit the topic. |
editableReplies | array | Conditional | IDs of editable replies. |
forumNotice | string or null | Conditional | Forum status notice. |
reportable | array or object | Conditional | Reportable targets and report state. |
reportError | string or null | Conditional | Report validation error. |
pollError | string or null | Conditional | Poll vote error. |
submission | string | Conditional | Submit as _submission for the same form. |
Flow and error cases
Requires moderation rights in the topic category. An incompatible record state can return an operation error.