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

# Update Me

`PATCH /api/v1/users/me`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/users/me`
- Auth: HTTP bearer

Partial update of home/radius settings.

Only supplied fields are changed; omitted fields remain unchanged.
Accepts both new field names (home_lng, home_address, default_radius_km,
radius_unit) and legacy names (home_lon, home_label, travel_radius_km)
for backward compatibility.

Validates:
  - radius 2–300 km (or the legacy > 0–300 range for travel_radius_km)
  - radius_unit must be 'km' or 'miles'

## Request body

- UserUpdateSettings: PATCH /users/me — partial update of home/radius settings. Accepts both new field names (home_lng, home_address, default_radius_km, radius_unit) and legacy names (home_lon, home_label, travel_radius_km) so existing mobile clients that haven't updated yet continue to work. The service layer coalesces duplicate fields.
  - `home_lat` number, nullable
  - `home_lng` number, nullable
  - `home_address` string, nullable
  - `home_place_id` string, nullable
  - `default_radius_km` number, nullable
  - `radius_unit` 'km' | 'miles', nullable
  - `home_lon` number, nullable
  - `home_label` string, nullable
  - `travel_radius_km` number, nullable
  - `onboarding_completed` boolean, nullable
  - `transport_modes` string[], nullable
  - `primary_transport_mode` string, nullable

## Response `200`

Successful Response

- UserResponse: Full user profile response. Exposes both the new field names introduced in the home-settings feature (home_lng, home_address, default_radius_km, radius_unit) AND the legacy names (home_lon, home_label, travel_radius_km) so existing clients and tests are not broken.
  - `id` string, uuid, required
  - `email` string, email, required
  - `is_active` boolean, required
  - `is_verified` boolean, required
  - `display_name` string, nullable
  - `avatar_url` string, nullable
  - `auth_provider` string
  - `onboarding_completed` boolean
  - `home_lat` number, nullable
  - `home_lng` number, nullable
  - `home_address` string, nullable
  - `home_place_id` string, nullable
  - `default_radius_km` number
  - `radius_unit` string
  - `home_lon` number, nullable
  - `home_label` string, nullable
  - `travel_radius_km` number, nullable
  - `transport_modes` string[]
  - `primary_transport_mode` string
  - `location_history_opt_in` boolean
  - `children` ChildOut[]
    - `id` string, uuid, required
    - `age_range` string, required
    - `label` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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