Users

List public bans for a user

Returns the user's active ban, total past ban count, and a paginated history of public bans. Use cursor + limit for paging.

get/users/{userId}/bans

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