POST https://api.luaprotect.dev/v1/bans
Issue an instant Roblox User ID ban across your protected scripts.
Body Parameters
target(string, required) — Numeric Roblox User ID to ban.type(string, required) — Ban classification ("userid", "hwid", or "ip").reason(string, optional) — Reason for issuing the ban.
Example Request
curl -X POST "https://api.luaprotect.dev/v1/bans" \
-H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"target": "184729104", "type": "userid", "reason": "Exploiting violation"}'
Example Response
{
"success": true,
"message": "User ID 184729104 banned successfully",
"bannedAt": "2026-07-26T11:15:00Z"
}