> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.eraus.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# List bans

> Everyone banned from this server.

> [!NOTE]
>
> Works while the server is offline: it's the list from the last time the server was up.

**data** `object[]`

**ban**

**userId** `integer`

**username** `string | null`

**reason** `string`

**bannedBy** `integer | null`

User ID of who banned them. API bans show the owner's ID.

**expiresAt** `integer | null`

Unix seconds. `null` is permanent.

```json 200 theme={null}
{ "data": [{ "userId": 98123, "username": null, "reason": "Mass RDM", "bannedBy": 1458291, "expiresAt": null }] }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.