Wallets
Archive a wallet
Changed onArchives a wallet, preventing it from being used in any write or signing operations. Archived wallets are hidden from list endpoints by default. Returns 404 if the wallet does not exist or is already archived.
post/v1/wallets/{wallet_id}/archive
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/wallets/{wallet_id}/archive
- AuthHTTP basic
Path parameters
wallet_idstring required
ID of the wallet.
Headers
privy-app-idstring required
ID of your Privy app.
Response
The archived wallet.
Example response
{
"id": "id2tptkqrxd39qo9j423etij",
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"display_name": "Treasury",
"external_id": "my-order-123",
"chain_type": "ethereum",
"policy_ids": [],
"additional_signers": [],
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"parent_wallet_id": null,
"entity": {
"id": "jorpjo4rfxj62nx1itt8y1zt",
"type": "user"
},
"created_at": 1741834854578,
"exported_at": null,
"imported_at": null,
"archived_at": null
}Changes
- warning
added the new
xrplenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the
response's property pattern^[a-zA-Z0-9_-]+$was added for the status
- warning
- info
endpoint added
- info