privy wallets archive
Archive an unowned server wallet: prevents writes/signing and hides it from default lists. Not deletion; no CLI restore.
privy wallets archive [options] <wallet-id>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
wallet-id |
— |
Options
Section titled “Options”| 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.
Examples
Section titled “Examples”privy wallets archive <wallet-id> --credential <credential-id> --confirm-wallet <wallet-id> --dry-runBehavior
Section titled “Behavior”- Changes data: yes. Preview with
--dry-run, then run with--yesand any required confirmations. - Scope: app
- Before it runs: Same-app read; archive additionally requires unowned server wallet, environment and exact
--confirm-walletID. - 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.
Related guides
Section titled “Related guides”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.