> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Wallet

> Unlink a wallet from a customer record

Removes a linked wallet from a customer. The primary wallet cannot be removed this way: promote another wallet first with [Promote Wallet](/endpoints/customers/promote-wallet), which demotes the current primary to a link.

## Path Parameters

<ParamField path="customerId" type="string" required>Customer record ID.</ParamField>
<ParamField path="address" type="string" required>The linked wallet to remove.</ParamField>

## Response Fields

<ResponseField name="data" type="object">
  Confirmation that the link was removed.
</ResponseField>

<Note>
  Unlinking is a record-keeping act. Nothing on chain changes, and any identity verification or claims the wallet holds on the registry stay exactly as they were. To take those away, revoke the identity with [Revoke Identity](/endpoints/customers/revoke-identity).
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.trusset.org/customers/api/manage/cus_abc123/wallets/0x1234f9a07c6b53d81e2a4f70c9b385d6014a7e52" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": { "removed": true }
  }
  ```
</ResponseExample>

## Error Codes

| Code              | HTTP  | Cause                                                  |
| ----------------- | ----- | ------------------------------------------------------ |
| `INVALID_ADDRESS` | `400` | `address` is not a valid address                       |
| `NOT_FOUND`       | `404` | No such customer, or that wallet is not linked to them |
| `REMOVE_FAILED`   | `500` | The link could not be removed                          |
