Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
BatchGrantPermissionsRequest — openapi
Request object to grant one permission to multiple assets.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| subjectType | #/components/schemas/SubjectType | false | |
| subjectId | string | false | The subject ID to grant to. Must be empty for SubjectType 'All'. |
| action | #/components/schemas/AssetAction | false | |
| requests | array | false | Array of asset grant requests. If populated, 'requests' will override 'assetIds'. |
| assetIds | array | false | [Deprecated] The list of asset IDs to grant this permission to. 'requests' will be prioritized over this list. |
| enableDeepAccessCheck | boolean | false | [Do not use] An optional boolean to indicate if a deep access check should be done. This is not intended for public use. |
Related Schemas
Complete Schema
{
"type": "object",
"properties": {
"subjectType": {
"$ref": "#/components/schemas/SubjectType"
},
"subjectId": {
"type": "string",
"description": "The subject ID to grant to. Must be empty for SubjectType 'All'.",
"nullable": true
},
"action": {
"$ref": "#/components/schemas/AssetAction"
},
"requests": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetGrantRequest"
},
"description": "Array of asset grant requests. If populated, 'requests' will override 'assetIds'.",
"nullable": true
},
"assetIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "[Deprecated] The list of asset IDs to grant this permission to. 'requests' will be prioritized over this list.",
"nullable": true,
"deprecated": true
},
"enableDeepAccessCheck": {
"type": "boolean",
"description": "[Do not use] An optional boolean to indicate if a deep access check should be done. This is not intended for public use."
}
},
"additionalProperties": false,
"description": "Request object to grant one permission to multiple assets."
}