Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
UserRestriction — openapi
Represents a restriction on a user.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | false | The resource path of the user restriction. Formats: * universes/{universe_id}/user-restrictions/{user_restriction_id} * universes/{universe_id}/places/{place_id}/user-restrictions/{user_restriction_id} |
| updateTime | string | false | The timestamp when the user restriction was last updated. |
| user | string | false | The affected user. |
| gameJoinRestriction | #/components/schemas/UserRestriction_GameJoinRestriction | false | The user is banned from the parent universe or place. |
Related Schemas
Complete Schema
{
"type": "object",
"properties": {
"path": {
"example": "universes/123/user-restrictions/123",
"type": "string",
"description": "The resource path of the user restriction.\n\nFormats:\n* `universes/{universe_id}/user-restrictions/{user_restriction_id}`\n* `universes/{universe_id}/places/{place_id}/user-restrictions/{user_restriction_id}`"
},
"updateTime": {
"readOnly": true,
"example": "2023-07-05T12:34:56Z",
"type": "string",
"description": "The timestamp when the user restriction was last updated.",
"format": "date-time"
},
"user": {
"readOnly": true,
"example": "users/156",
"type": "string",
"description": "The affected user."
},
"gameJoinRestriction": {
"$ref": "#/components/schemas/UserRestriction_GameJoinRestriction",
"description": "The user is banned from the parent universe or place."
}
},
"description": "Represents a restriction on a user.",
"x-aep-resource": {
"patterns": [
"universes/{universe_id}/user-restrictions/{user_restriction_id}",
"universes/{universe_id}/places/{place_id}/user-restrictions/{user_restriction_id}"
],
"plural": "user-restrictions",
"singular": "user-restriction"
},
"x-resource": true
}