---
title: "Set or clear the recovery address for auto-drain on deletion"
method: POST
path: "/contracts/v1/signers/{signer_id}/recovery-address"
tags: ["Contracts"]
---

# Set or clear the recovery address for auto-drain on deletion

`POST /contracts/v1/signers/{signer_id}/recovery-address`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/contracts/v1/signers/{signer_id}/recovery-address`
- Auth: HTTP bearer

## Path parameters

- `signer_id` string, required

## Request body

- object
  - `recovery_address` unknown

## Response `200`

Updated wallet

- Signer
  - `id` string
  - `project_id` string, required: Run402 project ID. Public IDs are not UUIDs.
  - `chain` 'base-mainnet' | 'base-sepolia', required
  - `address` string, required
  - `status` 'active' | 'suspended' | 'deleted', required
  - `recovery_address` string
  - `low_balance_threshold_wei` string
  - `last_alert_sent_at` string, date-time, nullable
  - `last_rent_debited_on` string, nullable
  - `suspended_at` string, date-time, nullable
  - `deleted_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `native_balance_wei` string
  - `native_balance_usd_micros` integer
  - `non_custodial_notice` string

## Other responses

- `400`: Invalid address or self-reference
- `404`: Wallet not found
- `410`: Wallet deleted

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
