---
title: "Create moderation action"
method: POST
path: "/moderation/actions"
tags: ["Moderation"]
---

# Create moderation action

`POST /moderation/actions`

## Request body

- ModerationActionBody
  - `username` string, required
  - `type` 'Warning' | 'Kick' | 'Ban' | 'BOLO' | 'Note', required
  - `reason` string
  - `runInGame` boolean — Also send ER:LC command when the player is online
  - `actorUsername` string
  - `proofUrl` string, nullable
  - `robloxId` string, nullable

## Response `200`

Action recorded

- object

## Other responses

- `400` — Bad input / ER:LC not configured / civilian disabled
- `401` — Missing or invalid key
- `403` — Insufficient scope or cross-panel serverId

---

[API](https://skmtc.dev/anchr/apis/anchor-open-developer-api.md) · [All operations](https://skmtc.dev/anchr/apis/anchor-open-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anchr/anchor-open-developer-api/revisions/3a14d4cb4985/schema)
