---
updatedAt: 2026-05-07T12:29:32.000Z
agentTools:
  projectIndex: https://docs.utila.io/llms.txt
---

# BatchArchiveWallets

Archive multiple wallets.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Utila API",
    "version": "v2"
  },
  "tags": [
    {
      "name": "Wallets"
    }
  ],
  "paths": {
    "/v2/vaults/{vault_id}/wallets:batchArchive": {
      "post": {
        "summary": "BatchArchiveWallets",
        "description": "Archive multiple wallets.",
        "operationId": "Wallets_BatchArchiveWallets",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "vault_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WalletsBatchArchiveWalletsBody"
              }
            }
          },
          "required": true
        },
        "tags": [
          "Wallets"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.utila.io"
    }
  ],
  "components": {
    "schemas": {
      "WalletsBatchArchiveWalletsBody": {
        "type": "object",
        "properties": {
          "names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The resource names of the wallets to archive.\nA maximum of 1000 wallets can be archived in a batch.\n\nFormat: `vaults/{vault_id}/wallets/{wallet_id}`"
          },
          "allowMissing": {
            "type": "boolean",
            "description": "If set to true, the operation will not fail if any of the wallets are missing."
          }
        },
        "required": [
          "names"
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```