Skip to content

privy wallets archive

Archive an unowned server wallet: prevents writes/signing and hides it from default lists. Not deletion; no CLI restore.

Terminal window
privy wallets archive [options] <wallet-id>
Argument Description
wallet-id —
Option Description
--dry-run Validate and print the API request without network access or credentials.
--yes Confirm this mutation or export.
--confirm-wallet <id> Exact wallet ID; archive stops writes/signing and has no CLI restoration.
--credential <id> App API credential ID in this app/profile OS vault; writes require full access.
--allow-production Explicitly allow this production mutation; also requires --yes.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy wallets archive <wallet-id> --credential <credential-id> --confirm-wallet <wallet-id> --dry-run
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: app
  • Before it runs: Same-app read; archive additionally requires unowned server wallet, environment and exact --confirm-wallet ID.
  • Verification: Fresh public GET with include_archived=true and archived_at timestamp.
  • Retries: None.
  • Caution: Archive is not deletion; prevents writes/signing. No CLI restoration.

Inspect the full contract locally with privy schema wallets archive.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.