---
title: "Update Address"
method: PATCH
path: "/v1/wallets/{walletId}/addresses/{addressId}"
tags: ["Addresses"]
---

# Update Address

`PATCH /v1/wallets/{walletId}/addresses/{addressId}`

This endpoint allows the client to update the status of a specific address within a wallet.

### Body Parameters

| Key | **Required** | Type | Description |
| --- | --- | --- | --- |
| isActive | false | boolean | The status state you want to set the address |
| name | false | string | The name of the address. |
| metadata | false | object | Additional metadata for the address. This will be part of any transaction tied to this. |
| showPrivateKey | false | boolean | If you want the address private key to be part of the response. |
| disableAutoSweep | false | boolean | Disable automatic sweeping of assets sent to the address into your master wallet. |
| enableGaslessWithdraw | false | boolean | Enable gasless transactions from this address. |
| privateKey | false | string | The private key associated with the address. Required for executing actions securely. |

## Request body

- object
  - `disableAutoSweep` string
  - `enableGaslessWithdraw` string
  - `isActive` string
  - `metadata` string
  - `name` string
  - `showPrivateKey` string

## Response `200`

200

- object
  - `data` object
    - `address` string
    - `blockchain` object
      - `createdAt` string
      - `derivationPath` string
      - `id` string
      - `isActive` boolean
      - `isEvmCompatible` boolean
      - `logoUrl` string
      - `name` string
      - `slug` string
      - `symbol` string
      - `tokenStandard` unknown
      - `updatedAt` string
    - `configurations` object
      - `aml` object
        - `message` string
        - `provider` string
        - `status` string
      - `disableAutoSweep` boolean
      - `enableGaslessWithdraw` boolean
      - `showPrivateKey` boolean
    - `createdAt` string
    - `derivationPath` string
    - `id` string
    - `isActive` boolean
    - `metadata` unknown
    - `name` string
    - `network` string
    - `type` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number

---

[API](https://skmtc.net/blockradar/apis/blockradar-documentation.md) · [All operations](https://skmtc.net/blockradar/apis/blockradar-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockradar/blockradar-documentation/revisions/97f95b4cfc0d/schema)
