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

# Update Employee

> Update an employee's details.

Can update name, avatar_url, or mark as reached out.



## OpenAPI

````yaml /openapi.json patch /v1/admin/employees/{employee_id}
openapi: 3.1.0
info:
  title: Ontora API
  description: >-
    Ontora's public API. Covers interview campaigns, transcripts, synthesis
    reports, graph queries, webhooks, and workspace management. 


    **Authentication**: endpoints accept either a Clerk JWT (`Authorization:
    Bearer <token>`) or a workspace API key (`X-API-Key: ont_...`). Workspace
    keys are managed via `/v1/api-keys`.
  version: 0.1.0
servers: []
security:
  - ClerkJWT: []
  - WorkspaceApiKey: []
tags:
  - name: interviews
    description: Campaign CRUD, lifecycle, contacts, question sets.
  - name: campaign-insights
    description: Synthesis outputs — cartography, roadmap, personas, conversations.
  - name: interview-query
    description: Graph RAG query over campaign data.
  - name: interview-export
    description: Markdown / ZIP exports of transcripts and reports.
  - name: api-keys
    description: Manage workspace-scoped API keys for programmatic access.
  - name: webhook-endpoints
    description: Outbound webhook endpoints for automation.
  - name: booking
    description: Public self-scheduling endpoints for interview participants.
  - name: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/admin/employees/{employee_id}:
    patch:
      tags:
        - admin
      summary: Update Employee
      description: |-
        Update an employee's details.

        Can update name, avatar_url, or mark as reached out.
      operationId: update_employee_v1_admin_employees__employee_id__patch
      parameters:
        - name: employee_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Employee Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmployeeUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmployeeProfileOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    EmployeeUpdateRequest:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        reached_out_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reached Out At
        mark_reached_out:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Mark Reached Out
        assigned_to:
          anyOf:
            - type: string
            - type: 'null'
          title: Assigned To
      type: object
      title: EmployeeUpdateRequest
    EmployeeProfileOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin Url
        reached_out_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reached Out At
        assigned_to:
          anyOf:
            - type: string
            - type: 'null'
          title: Assigned To
        company:
          anyOf:
            - $ref: '#/components/schemas/CompanyOut'
            - type: 'null'
        portfolio_companies:
          items:
            $ref: '#/components/schemas/PortfolioCompanyOut'
          type: array
          title: Portfolio Companies
      type: object
      required:
        - id
        - name
        - slug
        - title
        - avatar_url
        - linkedin_url
        - reached_out_at
        - assigned_to
        - company
        - portfolio_companies
      title: EmployeeProfileOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CompanyOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
        status:
          type: string
          title: Status
      type: object
      required:
        - id
        - name
        - slug
        - logo_url
        - status
      title: CompanyOut
    PortfolioCompanyOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
      type: object
      required:
        - id
        - name
        - logo_url
        - website
        - industry
      title: PortfolioCompanyOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ClerkJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk-issued RS256 JWT.
    WorkspaceApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key (prefix: `ont_`).'
    HTTPBearer:
      type: http
      scheme: bearer

````