---
title: "Update a contact address (v2)"
method: PATCH
path: "/v2/contact-legacy-addresses/{contactId}/{addressId}"
tags: ["contact-legacy-addresses"]
---

# Update a contact address (v2)

`PATCH /v2/contact-legacy-addresses/{contactId}/{addressId}`

## Request

- Base URL: `https://api.prod.getdex.com`
- URL: `https://api.prod.getdex.com/v2/contact-legacy-addresses/{contactId}/{addressId}`
- Auth: HTTP bearer

Partially update one address on a contact. **Requires `Idempotency-Key`.** Returns `{ data: { affected } }`.

## Path parameters

- `contactId` string, uuid, required
- `addressId` string, uuid, required

## Request body

- object
  - `formatted` string
  - `street` string
  - `city` string
  - `region` string
  - `country` string
  - `postal_code` string
  - `address_type` string

## Response `200`

Successful response

- object
  - `data` object, required
    - `affected` integer, required
    - `ids` string[]
    - `failed` object[]
      - `id` string, required
      - `error` object, required
        - `code` string, required
        - `message` string, required

## Other responses

- `400`: Request body failed validation.
- `401`: Missing or invalid API key.
- `403`: Valid key, insufficient permission.
- `404`: Resource does not exist.
- `409`: Request conflicts with the current state of the resource.
- `429`: Rate limit exceeded.
- `500`: Unexpected server error.

## Changes

- **2026-08-27** `a2f71a243839`: 1 info
  - api operation id `updateContactAddressV2` was added

[Operation history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v2/contact-legacy-addresses/:contactId/:addressId/patch.md)

---

[API](https://skmtc.dev/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.dev/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getdex/apis/dex-public-api/revisions/657247ddcf7c?raw)
