---
title: "Update user profile"
method: PATCH
path: "/api/users/profile"
tags: ["Users"]
---

# Update user profile

`PATCH /api/users/profile`

## Request

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

## Request body

- UpdateProfileDto
  - `firstName` string
  - `lastName` string
  - `email` string
  - `phone` string
  - `city` string
  - `state` string
  - `country` string: ISO 3166-1 alpha-2 country code
  - `postalCode` string
  - `unitSystem` 'metric' | 'imperial'
  - `coachDataConsent` boolean: Grant or revoke consent to share data with assigned coach (MP-1)

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
