---
title: "Update Me"
method: PATCH
path: "/v1/me"
tags: ["me"]
---

# Update Me

`PATCH /v1/me`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/me`
- Auth: none declared

Update profile fields, password, email, or notification prefs.

Any change to ``email`` or ``new_password`` requires the caller to
re-supply ``current_password``. A new email clears
``email_verified_at`` and triggers a fresh verification link.

## Cookies

- `ctix_session` string, nullable

## Request body

- UpdateMeRequest: Body for ``PATCH /v1/me``. All fields optional — only present fields are updated. Changing ``email`` or ``new_password`` requires ``current_password`` for re-authentication. A new email triggers a fresh verification link and clears ``email_verified_at``.
  - `name` string, nullable
  - `email` string, nullable
  - `current_password` string, nullable
  - `new_password` string, nullable
  - `notification_prefs` NotificationPrefs: Per-user notification toggles surfaced on the portal Settings page. The shape is opaque to the server (stored as JSONB) — clients can add new toggles without a migration. We model the well-known fields here so the OpenAPI schema documents what the portal currently sends.
    - `product_updates` boolean
    - `security_announcements` boolean
    - `billing_emails` boolean
    - `alerts_email_to` string, nullable

## Response `200`

Successful Response

- MeProfile: Response for ``GET /v1/me``.
  - `id` string, uuid, required
  - `email` string, required
  - `name` string, nullable
  - `email_verified_at` string, date-time, nullable
  - `created_at` string, date-time, nullable
  - `notification_prefs` NotificationPrefs, required: Per-user notification toggles surfaced on the portal Settings page. The shape is opaque to the server (stored as JSONB) — clients can add new toggles without a migration. We model the well-known fields here so the OpenAPI schema documents what the portal currently sends.
    - `product_updates` boolean
    - `security_announcements` boolean
    - `billing_emails` boolean
    - `alerts_email_to` string, nullable
  - `deletion_scheduled_at` string, date-time, nullable
  - `current_session_id` string, uuid, nullable
  - `has_password` boolean
  - `has_google_link` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctindex/apis/certindex-api.md) · [All operations](https://skmtc.dev/ctindex/apis/certindex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ctindex/apis/certindex-api/revisions/d5bc0ec85bc9?raw)
