---
title: "Set a verified email as the account or commit author address"
method: PATCH
path: "/api/v1/me/emails/{id}"
tags: ["me"]
---

# Set a verified email as the account or commit author address

`PATCH /api/v1/me/emails/{id}`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/me/emails/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `id` string, required

## Request body

- union
  - object
    - `account` boolean, required
  - object
    - `commit_author` boolean, required

## Response `200`

Updated account emails

- AccountEmailsPage
  - `emails` AccountEmail[], required
    - `id` string, required
    - `email` string, email, required
    - `account` boolean, required
    - `commit_author` boolean, required
    - `verified` boolean, required
    - `verification_status` 'verified' | 'unverified', required
    - `can_delete` boolean, required
    - `can_set_account` boolean, required
    - `can_set_commit_author` boolean, required
    - `can_resend_verification` boolean, required
  - `message` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

## Changes

- **2026-11-03** `74298a24e040`: 1 breaking, 1 warning
  - added the new path request parameter `id`
  - deleted the `path` request parameter `id`
- **2026-11-02** `0afeb1a84736`: 1 breaking, 1 warning
  - added the new path request parameter `id`
  - deleted the `path` request parameter `id`
- **2026-11-02** `d241f0ecfba3`: 1 breaking, 1 warning
  - added the new path request parameter `id`
  - deleted the `path` request parameter `id`

[Operation history](https://skmtc.dev/composal/apis/vex-api/changes/api/v1/me/emails/:id/patch.md)

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
