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

# Update Computer Agent configuration

> Merges selected settings into the current Computer Agent configuration. The revision prevents an older read from overwriting a newer change. Read the configuration again after the Computer Agent finishes restarting to verify the result.




## OpenAPI

````yaml post /api/v2/computer/accounts/{targetAccountId}/config/patch
openapi: 3.0.0
info:
  version: 2.0.0
  title: Vida API
  description: Vida API Documentation
servers:
  - url: https://api.vida.dev
    description: Vida Production
    variables:
      baseUrl:
        default: api.vida.dev
        description: Production API Root
security: []
tags:
  - name: Agents
  - name: Inbound Email
    description: Control which senders may create inbound email work for an Agent.
  - name: Features
    description: Inspect capabilities available within an account hierarchy.
  - name: Conversation Logs
    description: Query conversation activity and calculate account-level metrics.
  - name: Computer Agents
    description: Set up, configure, inspect, and manage Vida Computer Agents.
  - name: Computer Agent Sessions
    description: View and reset Computer Agent sessions.
  - name: Accounts
  - name: Agent Templates
    description: Create, manage, and apply reusable Agent configurations.
paths:
  /api/v2/computer/accounts/{targetAccountId}/config/patch:
    post:
      tags:
        - Computer Agents
      summary: Update Computer Agent configuration
      description: >
        Merges selected settings into the current Computer Agent configuration.
        The revision prevents an older read from overwriting a newer change.
        Read the configuration again after the Computer Agent finishes
        restarting to verify the result.
      operationId: configPostConfigPatch
      parameters:
        - name: targetAccountId
          in: path
          required: true
          description: ''
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - revision
                - patch
              properties:
                revision:
                  type: string
                  description: Revision returned by the latest configuration read.
                patch:
                  type: object
                  additionalProperties: true
                  description: Settings to merge into the current configuration.
                replacePaths:
                  type: array
                  maxItems: 256
                  items:
                    type: string
                  description: Array paths that this update is intentionally replacing.
                note:
                  type: string
                  description: Optional reason for the change.
                restartDelayMs:
                  type: integer
                  minimum: 0
                  description: Optional delay before a required restart begins.
      responses:
        '200':
          description: Successful response
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: query
      name: token
      description: Vida API Token

````