2 min read

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

NameTypeRequiredDescription
subjectType#/components/schemas/SubjectTypefalse
subjectIdstringfalseThe subject ID to grant to. Must be empty for SubjectType 'All'.
action#/components/schemas/AssetActionfalse
requestsarrayfalseArray of asset grant requests. If populated, 'requests' will override 'assetIds'.
assetIdsarrayfalse[Deprecated] The list of asset IDs to grant this permission to. 'requests' will be prioritized over this list.
enableDeepAccessCheckbooleanfalse[Do not use] An optional boolean to indicate if a deep access check should be done. This is not intended for public use.

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."
}