Users

List public bans for a user

Returns the user's active public ban, how many of their public bans are no longer in force (lifted, expired or marked as a mistake), and a paginated history of all their public bans. Use cursor + limit for paging.

get/users/{userId}/bans

Request

  • Base URL
    https://api.trucklinemp.com
  • Auth
    • none
    • or HTTP bearer

Path parameters

userIdstring required

User id or handle.

Query parameters

limitinteger

Number of history entries to return (1-50).

cursorinteger

Offset from a previous nextCursor, or 0 for the first page.

Response

OK

pastCountinteger required
nextCursornumber nullable required

Changes

No recorded changes to this operation across all 6 revisions of this API.