> ## 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.

# Patch the workspace token whitelist

> Accepts a `changes` array of tagged instructions and returns 200 with the identical shape as the GET, so a client updates local state from the response without a second call. `state` is tri-state on the way in — 'on' | 'off' | 'default', where 'default' deletes the override — but the response only ever shows 'on' | 'off': a cleared override is represented by absence from `overrides`, since a delete instruction can never come back.



## OpenAPI

````yaml /api-reference/platform-api.json patch /v2/token-whitelist
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.16
  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.
paths:
  /v2/token-whitelist:
    patch:
      tags:
        - Token Whitelist
      summary: Patch the workspace token whitelist
      description: >-
        Accepts a `changes` array of tagged instructions and returns 200 with
        the identical shape as the GET, so a client updates local state from the
        response without a second call. `state` is tri-state on the way in —
        'on' | 'off' | 'default', where 'default' deletes the override — but the
        response only ever shows 'on' | 'off': a cleared override is represented
        by absence from `overrides`, since a delete instruction can never come
        back.
      operationId: patchWhitelist
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchTokenWhitelistDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenWhitelistResponseDto'
components:
  schemas:
    PatchTokenWhitelistDto:
      type: object
      properties:
        changes:
          type: array
          minItems: 1
          items:
            oneOf:
              - $ref: '#/components/schemas/AssetChangeDto'
              - $ref: '#/components/schemas/TokenChangeDto'
          maxItems: 1000
      required:
        - changes
    TokenWhitelistResponseDto:
      type: object
      properties:
        overrides:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/AssetOverrideDto'
              - $ref: '#/components/schemas/TokenOverrideDto'
        updated_at:
          type: string
          nullable: true
          format: date-time
      required:
        - overrides
        - updated_at
    AssetChangeDto:
      type: object
      properties:
        kind:
          type: string
          enum:
            - asset
            - token
        state:
          type: string
          enum:
            - 'on'
            - 'off'
            - default
        symbol:
          type: string
          example: USDT
      required:
        - kind
        - state
        - symbol
    TokenChangeDto:
      type: object
      properties:
        kind:
          type: string
          enum:
            - asset
            - token
        state:
          type: string
          enum:
            - 'on'
            - 'off'
            - default
        network:
          type: string
          enum:
            - ethereum
            - celestia
            - osmosis-1
            - dydx-mainnet-1
            - cosmoshub-4
            - neutron-1
            - dymension_1100-1
            - agoric-3
            - mantra-1
            - stride-1
            - pio-mainnet-1
            - noble-1
            - zigchain-1
            - union-1
            - stellar
            - solana
            - tron
            - bitcoin
            - eth
            - oeth
            - bnb
            - pol
            - zkevm
            - moonbeam
            - base
            - arb1
            - celo
            - avax
          example: ethereum
        denom:
          type: string
          example: '0xdac17f958d2ee523a2206206994597c13d831ec'
      required:
        - kind
        - state
        - network
        - denom
    AssetOverrideDto:
      type: object
      properties:
        kind:
          type: string
          enum:
            - asset
        symbol:
          type: string
          example: USDT
        state:
          type: string
          enum:
            - 'on'
            - 'off'
      required:
        - kind
        - symbol
        - state
    TokenOverrideDto:
      type: object
      properties:
        kind:
          type: string
          enum:
            - token
        network:
          type: string
          example: ethereum
        denom:
          type: string
          example: '0xdac17f958d2ee523a2206206994597c13d831ec'
        state:
          type: string
          enum:
            - 'on'
            - 'off'
      required:
        - kind
        - network
        - denom
        - state
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````