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

# Update account connection

> Updates mutable connection fields. Currently supports renaming only.



## OpenAPI

````yaml /api-reference/platform-api.json patch /v2/account-connections/{id}
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.29
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Parties
    description: >-
      The workspace entity register: the firm itself, its clients, and its
      counterparties.
paths:
  /v2/account-connections/{id}:
    patch:
      tags:
        - Account Connections
      summary: Update account connection
      description: Updates mutable connection fields. Currently supports renaming only.
      operationId: updateConnection
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountConnectionDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountConnectionDto'
components:
  schemas:
    UpdateAccountConnectionDto:
      type: object
      properties:
        name:
          type: string
          example: My Kraken Trading Account
      required:
        - name
    AccountConnectionDto:
      type: object
      properties:
        id:
          type: string
          example: conn_abc123
        name:
          type: string
          example: My Utila Account
        type:
          type: string
          example: utila
          enum:
            - utila
            - kraken
            - binance
            - okx
            - bybit
            - bitget
            - gate
            - kucoin
            - plaid
            - squads
            - altitude
            - coinbase
            - realms
            - wise
            - safe
            - hyperliquid
            - cubist
            - privy
            - dfns
            - anchorage
            - revolut_business
            - turnkey
            - fordefi
            - coins_ph
            - fireblocks
            - pave_bank
            - copper
            - custom
            - quickbooks
            - xero
            - merkle_science
        provider_display_name:
          type: string
          example: Utila
          description: >-
            Canonical brand label for `type` (e.g. okx → OKX, plaid → Bank, gate
            → Gate.io).
        kind:
          type: string
          example: account
          enum:
            - account
            - ledger
            - risk
          description: >-
            Connection family: `account` (import Range Accounts), `ledger`
            (bookkeeping) or `risk` (BYO risk-provider key).
        public_data:
          type: object
          description: Non-sensitive public metadata
          additionalProperties: true
          example:
            public_key: pk_abc123
        created_at:
          format: date-time
          type: string
          example: '2026-01-01T00:00:00.000Z'
        updated_at:
          format: date-time
          type: string
          example: '2026-01-01T00:00:00.000Z'
          description: >-
            Last **config** edit: creation, rename, or a credential/session
            refresh. Transaction-sync lifecycle lives on accounts
            (`AccountDto.last_synced_at` / `sync_status`), not on connections.
      required:
        - id
        - name
        - type
        - provider_display_name
        - kind
        - public_data
        - created_at
        - updated_at
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

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