GET https://api.luaprotect.dev/v1/bans

Fetch active ban records filtered by classification.

Query Parameters

Example Request

curl -X GET "https://api.luaprotect.dev/v1/bans?type=hwid" \
  -H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE"

Example Response

{
  "bans": [
    {
      "id": "ban_88192a",
      "target": "HWID-88192-X92",
      "type": "hwid",
      "reason": "Exploiting violation",
      "createdAt": "2026-07-26T11:15:00Z"
    }
  ],
  "total": 1
}