Bans and blocks
Universes
Users
Get User Restriction
Changed onGet the user restriction.
get/cloud/v2/universes/{universe_id}/user-restrictions/{user_restriction_id}
Request
- Base URLhttps://apis.roblox.com
- URLhttps://apis.roblox.com/cloud/v2/universes/{universe_id}/user-restrictions/{user_restriction_id}
- Auth
- API key in header x-api-key
- or OAuth 2Authorization code: https://apis.roblox.com/oauth/v1/authorizeToken URL: https://apis.roblox.com/oauth/v1/token scopes: universe.user-restriction:read
Path parameters
universe_idstring required
The universe ID.
user_restriction_idstring required
The user-restriction ID.
Response
OK
Example response
{
"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
}
}Changes
- info
the security scope
universe.user-restriction:readwas added to the endpoint's security schemeroblox-oauth2
- info