v1
latestOpenAPI 3.0.42026-08-068161,1253.1 MBBans and blocks
Universes
Users
List User Restrictions
List user restrictions for users that have ever been banned in either a universe or a specific place.
get/cloud/v2/universes/{universe_id}/user-restrictions
Path parameters
universe_idstring required
The universe ID.
Query parameters
maxPageSizeinteger
The maximum number of user restrictions to return. The service might return fewer than this value. If unspecified, at most 10 user restrictions are returned. The maximum value is 100 and higher values are set to 100.
pageTokenstring
A page token, received from a previous call, to retrieve a subsequent page.
When paginating, all other parameters provided to the subsequent call must match the call that provided the page token.
Response
OK
Example response
{
"userRestrictions": [
{
"path": "universes/123/user-restrictions/123",
"updateTime": "2023-07-05T12:34:56Z",
"user": "users/156",
"gameJoinRestriction": {
"active": true,
"startTime": "2023-07-05T12:34:56Z",
"duration": "3s",
"privateReason": "some private reason",
"displayReason": "some display reason",
"excludeAltAccounts": true,
"inherited": true
}
}
]
}