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

# Update an extension

> Update an extension by uploading a new ZIP file. The extension ID remains the same. Requires account-level allowlist access.



## OpenAPI

````yaml /api-reference/openapi.json put /v1/browser/extensions/{extensionId}
openapi: 3.0.0
info:
  version: 1.0.0
  title: Driver API
  description: API for interacting with the Driver.dev browser network.
  contact:
    name: Driver support
    email: alex@driver.dev
servers:
  - url: https://api.driver.dev
    description: Production
security: []
tags:
  - name: Sessions
  - name: Profiles
  - name: Account
  - name: Extensions
  - name: Pools
externalDocs:
  url: https://docs.driver.dev
  description: Driver documentation
paths:
  /v1/browser/extensions/{extensionId}:
    put:
      tags:
        - Extensions
      summary: Update an extension
      description: >-
        Update an extension by uploading a new ZIP file. The extension ID
        remains the same. Requires account-level allowlist access.
      parameters:
        - schema:
            type: string
            description: The internal extension ID.
            example: abc123def456
          required: true
          description: The internal extension ID.
          name: extensionId
          in: path
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                extension:
                  type: string
                  format: binary
                  description: The ZIP file containing the updated Chrome extension.
      responses:
        '200':
          description: Extension updated successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  extension:
                    type: object
                    properties:
                      extensionId:
                        type: string
                        description: >-
                          The internal extension ID (use this when referencing
                          extensions in session creation).
                      crxExtensionId:
                        type: string
                        description: The Chrome CRX extension ID.
                      name:
                        type: string
                        description: The extension name from manifest.json.
                      version:
                        type: string
                        description: The extension version from manifest.json.
                      createdAt:
                        type: string
                        description: The ISO 8601 timestamp when the extension was created.
                      updatedAt:
                        type: string
                        description: >-
                          The ISO 8601 timestamp when the extension was last
                          updated.
                    required:
                      - extensionId
                      - crxExtensionId
                      - name
                      - version
                      - createdAt
                required:
                  - extension
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
        '404':
          description: Extension not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: >-
        A workspace API key from Settings → API keys in the dashboard
        (https://app.driver.dev), sent as a bearer token.

````