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

# Update Agent Access

> Replace the list of admin emails that can manage an agent.



## OpenAPI

````yaml /api-reference/openapi.json put /api/v1/agents/{agent_id}/access
openapi: 3.1.0
info:
  description: >
    Create and run form-filling voice agents, and read back the conversations
    they had.


    Send your API key on every request as `Authorization: Bearer fb_live_...`.

    A key belongs to one workspace and only reaches that workspace's agents.
    Create

    and revoke keys from Settings in the web app; keys cannot manage other keys.
  title: FormBharo API
  version: 1.0.0
servers:
  - description: Production
    url: https://form-fill-agent-backend.artpark.ai
security:
  - apiKey: []
paths:
  /api/v1/agents/{agent_id}/access:
    put:
      tags:
        - Agents
      summary: Update Agent Access
      description: Replace the list of admin emails that can manage an agent.
      operationId: update_agent_access_api_v1_agents__agent_id__access_put
      parameters:
        - in: path
          name: agent_id
          required: true
          schema:
            title: Agent Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAgentAccessRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentAccess'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    UpdateAgentAccessRequest:
      description: Admin emails that can manage an agent in addition to the owner.
      properties:
        access_emails:
          items:
            type: string
          title: Access Emails
          type: array
      title: UpdateAgentAccessRequest
      type: object
    AgentAccess:
      properties:
        access_emails:
          items:
            type: string
          title: Access Emails
          type: array
        owner_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Owner Email
      required:
        - access_emails
      title: AgentAccess
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    apiKey:
      bearerFormat: fb_live_...
      scheme: bearer
      type: http

````