> ## Documentation Index
> Fetch the complete documentation index at: https://studio.assembly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Root Folder Permissions

> Updates the client access level on a file channel's root folder. Requires internal-user privileges. On the Internal API the change cascades to all folders in the channel; on the Platform API only the root folder is updated.



## OpenAPI

````yaml /api-reference/openapi.json put /v1/files/root/permissions
openapi: 3.0.0
info:
  contact: {}
  title: Assembly API
  version: 0.0.1
servers:
  - url: https://api.assembly.com
security: []
paths:
  /v1/files/root/permissions:
    put:
      tags:
        - Files
      summary: Update Root Folder Permissions
      description: >-
        Updates the client access level on a file channel's root folder.
        Requires internal-user privileges. On the Internal API the change
        cascades to all folders in the channel; on the Platform API only the
        root folder is updated.
      operationId: update-root-folder-permissions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handler.UpdateRootFolderPermissionsRequest'
        description: Root folder permissions to apply
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.SuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: >-
            Invalid request body, missing channelId, or clientPermissions is
            missing or not one of read_only/read_write
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: >-
            Caller lacks internal-user privileges or access to the channel's
            company
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: File channel not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatcher.Error'
          description: Unexpected server error
      security:
        - APIKeyHeader: []
components:
  schemas:
    handler.UpdateRootFolderPermissionsRequest:
      properties:
        channelId:
          description: >-
            ID of the file channel whose root folder permissions are updated.
            Required.
          example: a1b2c3d4-0000-1111-2222-333344445555
          type: string
        clientPermissions:
          description: Client access level applied to the root folder. Required.
          enum:
            - read_only read_write
          example: read_write
          type: string
      required:
        - channelId
        - clientPermissions
      type: object
    handler.SuccessResponse:
      properties:
        success:
          description: Whether the operation succeeded.
          example: true
          type: boolean
      type: object
    dispatcher.Error:
      properties:
        code:
          type: string
        data: {}
        message:
          type: string
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-KEY
      type: apiKey

````