forum.archive-topic
Remove the player’s own topic and return to its category.
POST
/api/v1/{locale}/forum/topics/{slug}/archiveAPI scope forum.archive-topic
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. |
This endpoint takes no request body.
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" \
"${MINEXON_BASE_URL}/api/v1/en/forum/topics/example/archive"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"
}