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

# Remove a MicroVault shareholder

Remove one wallet from this MicroVault's shareholder allowlist.


## OpenAPI

````yaml swagger/swagger-combined.yaml DELETE /v2/microvaults/vaults/{vaultId}/shareholders/{walletAddress}
openapi: 3.0.0
info:
  title: Ground API
  description: Core API for Portfolio Wallets, gVaults, MicroVaults, and webhooks.
  version: 2.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: App-specific Ground vaults with customer access and fee sharing.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview in sandbox on Ethereum Sepolia.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v2/microvaults/vaults/{vaultId}/shareholders/{walletAddress}:
    parameters:
      - name: vaultId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/UuidV4'
      - name: walletAddress
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/NonzeroEvmAddress'
    delete:
      tags:
        - MicroVaults
      summary: Remove a shareholder
      operationId: removeMicrovaultShareholder
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
          description: Reuse when retrying the identical request.
      responses:
        '202':
          description: The operation was accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MicroVaultTaskResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MicroVaultError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          description: Conflicting request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MicroVaultError'
components:
  schemas:
    UuidV4:
      type: string
      format: uuid
      pattern: >-
        ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
      example: 8f4c52d7-62ab-4db9-a964-92f481f6b851
    NonzeroEvmAddress:
      type: string
      description: >-
        Valid nonzero EVM EOA or contract address. Mixed-case values must use a
        valid EIP-55 checksum.
      minLength: 42
      maxLength: 42
      pattern: ^0x(?!0{40}$)[0-9a-fA-F]{40}$
      example: '0x3bf25a73a1f1033c2d50ac65f3c9d6a44123db81'
    MicroVaultTaskResponse:
      type: object
      required:
        - task
      properties:
        task:
          $ref: '#/components/schemas/MicroVaultTask'
      example:
        task:
          id: 924c9b2d-3a9c-4b1a-b470-c73fc9b97c06
          kind: update_strategy
          status: submitted
          vaultId: d9902b20-6499-4465-a4c3-5d2208182f79
          txHashes:
            - '0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
          error: null
          createdAt: '2026-09-10T18:42:10.000Z'
          updatedAt: '2026-09-10T18:42:12.000Z'
    MicroVaultError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: invalid_request
        message:
          type: string
          nullable: true
          example: allocation targets and idleTargetBps must total 10000
        details:
          nullable: true
      example:
        error: invalid_request
        message: allocation targets and idleTargetBps must total 10000
    MicroVaultTask:
      type: object
      additionalProperties: false
      required:
        - id
        - kind
        - status
        - vaultId
        - txHashes
        - error
        - createdAt
        - updatedAt
      properties:
        id:
          $ref: '#/components/schemas/UuidV4'
        kind:
          type: string
          enum:
            - provision_vault
            - update_strategy
            - update_source_mode
            - update_fees
            - update_pause
            - export_vault
            - add_shareholder
            - remove_shareholder
            - rebalance
        status:
          type: string
          enum:
            - queued
            - submitting
            - submitted
            - confirmed
            - failed
        vaultId:
          allOf:
            - $ref: '#/components/schemas/UuidV4'
          nullable: true
        txHashes:
          type: array
          items:
            type: string
            pattern: ^0x[0-9a-fA-F]{64}$
        error:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      example:
        id: 924c9b2d-3a9c-4b1a-b470-c73fc9b97c06
        kind: update_strategy
        status: submitted
        vaultId: d9902b20-6499-4465-a4c3-5d2208182f79
        txHashes:
          - '0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
        error: null
        createdAt: '2026-09-10T18:42:10.000Z'
        updatedAt: '2026-09-10T18:42:12.000Z'
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          enum:
            - unauthenticated
            - forbidden
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````