curl --request POST \
--url http://localhost:3000/api/moderation/kicks \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--cookie __Host-argus-session= \
--data '
{
"targetRobloxId": "123456",
"reason": "Repeated disruption"
}
'import requests
url = "http://localhost:3000/api/moderation/kicks"
payload = {
"targetRobloxId": "123456",
"reason": "Repeated disruption"
}
headers = {
"cookie": "__Host-argus-session=",
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
cookie: '__Host-argus-session=',
'Idempotency-Key': '<idempotency-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({targetRobloxId: '123456', reason: 'Repeated disruption'})
};
fetch('http://localhost:3000/api/moderation/kicks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/moderation/kicks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'targetRobloxId' => '123456',
'reason' => 'Repeated disruption'
]),
CURLOPT_COOKIE => "__Host-argus-session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/moderation/kicks"
payload := strings.NewReader("{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "__Host-argus-session=")
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://localhost:3000/api/moderation/kicks")
.header("cookie", "__Host-argus-session=")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/moderation/kicks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["cookie"] = '__Host-argus-session='
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": true
}
}{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": false
}
}{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": false
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "Request validation failed.",
"details": [
{
"path": [
"targetRobloxId"
],
"message": "Invalid input"
}
]
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Sign in to continue."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "FORBIDDEN",
"message": "Permission required: moderation.kick."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "IDEMPOTENCY_CONFLICT",
"message": "This key was already used for a different request."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "ERLC_THROTTLED",
"message": "ER:LC is cooling down or another request is in progress.",
"details": {
"availability": "unavailable"
}
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "The request could not be completed."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}Kick a player
Permission: moderation.kick.
Access: Browser session, or a service credential holding the permission as a scope.
Records the kick, then sends a fixed command to ER:LC using the username resolved from the live snapshot. The target must be in the server and must not be in-game staff.
HTTP success means the record exists, not that the kick happened. Always read delivery: SUCCEEDED, FAILED (see errorCode), or UNKNOWN when the outcome could not be confirmed. Argus never resends a command. A replayed key returns the existing record.
curl --request POST \
--url http://localhost:3000/api/moderation/kicks \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--cookie __Host-argus-session= \
--data '
{
"targetRobloxId": "123456",
"reason": "Repeated disruption"
}
'import requests
url = "http://localhost:3000/api/moderation/kicks"
payload = {
"targetRobloxId": "123456",
"reason": "Repeated disruption"
}
headers = {
"cookie": "__Host-argus-session=",
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
cookie: '__Host-argus-session=',
'Idempotency-Key': '<idempotency-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({targetRobloxId: '123456', reason: 'Repeated disruption'})
};
fetch('http://localhost:3000/api/moderation/kicks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/moderation/kicks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'targetRobloxId' => '123456',
'reason' => 'Repeated disruption'
]),
CURLOPT_COOKIE => "__Host-argus-session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/moderation/kicks"
payload := strings.NewReader("{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "__Host-argus-session=")
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://localhost:3000/api/moderation/kicks")
.header("cookie", "__Host-argus-session=")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/moderation/kicks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["cookie"] = '__Host-argus-session='
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"targetRobloxId\": \"123456\",\n \"reason\": \"Repeated disruption\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": true
}
}{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": false
}
}{
"data": {
"id": "cmg5y4pun0007l508pun00001",
"targetRobloxId": "123456",
"targetUsername": "TestPlayer",
"moderatorId": "cmg5x1k2a0000l508a1b2c3d4",
"serviceId": null,
"type": "kick",
"reason": "Repeated disruption",
"evidence": "https://example.org/evidence/123",
"createdAt": "2026-10-06T19:30:00.000Z",
"updatedAt": "2026-10-06T19:30:00.000Z",
"delivery": "SUCCEEDED",
"errorCode": null
},
"meta": {
"replayed": false
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "Request validation failed.",
"details": [
{
"path": [
"targetRobloxId"
],
"message": "Invalid input"
}
]
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Sign in to continue."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "FORBIDDEN",
"message": "Permission required: moderation.kick."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "IDEMPOTENCY_CONFLICT",
"message": "This key was already used for a different request."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "ERLC_THROTTLED",
"message": "ER:LC is cooling down or another request is in progress.",
"details": {
"availability": "unavailable"
}
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "The request could not be completed."
},
"requestId": "3f1c9d5e-7a42-4f0b-9c1e-8b6d2a4e5f70"
}Authorizations
The opaque session cookie set by Discord sign-in. Named argus-session outside production. HttpOnly, so scripts cannot read it; same-origin requests send it automatically. Requests other than GET must also carry an Origin header equal to the application's own origin.