---
title: "Recover deleted wallets for a user in a specific environment"
method: POST
path: "/environments/{environmentId}/wallets/recover"
tags: ["Wallets"]
---

# Recover deleted wallets for a user in a specific environment

`POST /environments/{environmentId}/wallets/recover`

Recovers deleted wallets for a user in a specified environment by setting deleted_at to null. This undoes the soft deletion of wallets, wallet additional addresses, and turnkey HD wallets.

## Path parameters

- `environmentId` string, required

## Request body

- WalletRecoveryRequest
  - `userId` string — User Id

## Response `200`

Successfully recovered wallets

- WalletRecoveryResponse
  - `data` object — Recovered wallets data
  - `message` string — Summary of wallet recovery

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/revisions/aac826315d90/schema)
