---
title: "Update a contact email (v2)"
method: PATCH
path: "/v2/contact-emails/{contactId}/{emailId}"
tags: ["contact-emails"]
---

# Update a contact email (v2)

`PATCH /v2/contact-emails/{contactId}/{emailId}`

Partially update one email on a contact (value and/or label). **Requires `Idempotency-Key`.** Returns the bulk envelope `{ data: { affected } }`.

## Path parameters

- `contactId` string, uuid, required
- `emailId` string, uuid, required

## Request body

- object
  - `email` string, email
  - `label` string
  - `ranking` integer

## 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 body failed validation.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

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