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

# Update an Account

> Update one account by its Apollo id.

Update one account by its Apollo id. Send only the fields you intend to change; anything you omit keeps its current value. Stage fields expect an id from [`get_apollo_account_stages`](/docs/api-reference/apollo/get_apollo-account-stages). Writes land in the AIsa workspace, which every caller shares: the record becomes visible and editable by others, and there is no per-caller isolation.

<Note>
  **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
  Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
  opens a browser, you click Allow once, and there is no key to paste. The
  commands per client, and what each call costs, are on
  [aisa.one/mcp](https://aisa.one/mcp#connect).
</Note>

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/apollo/patch_apollo-accounts-account-id)


## OpenAPI

````yaml openapi/apollo.json PATCH /apollo/accounts/{account_id}
openapi: 3.0.3
info:
  title: Apollo API
  version: 1.0.0
  description: Apollo API endpoints exposed through the AIsa unified gateway.
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /apollo/accounts/{account_id}:
    patch:
      summary: Update an Account
      description: >-
        Update one account by its Apollo id. Send only the fields you intend to
        change; anything you omit keeps its current value. Stage fields expect
        an id from `get_apollo_account_stages`. Writes land in the AIsa
        workspace, which every caller shares: the record becomes visible and
        editable by others, and there is no per-caller isolation.
      operationId: patch_apollo_accounts_account_id
      parameters:
        - name: account_id
          in: path
          required: true
          schema:
            type: string
          description: Account ID
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Account name
                domain:
                  type: string
                  description: Account domain
                owner_id:
                  type: string
                  description: Owner ID
                account_stage_id:
                  type: string
                  description: Account stage ID
                raw_address:
                  type: string
                  description: Raw address
                phone:
                  type: string
                  description: Phone number
                typed_custom_fields:
                  type: object
                  description: Typed custom fields object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  account:
                    type: object
                    description: Updated account
                    additionalProperties: true
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
        '500':
          description: Internal server error
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.