---
title: "Update my profile"
method: PATCH
path: "/api/me"
tags: ["Users"]
---

# Update my profile

`PATCH /api/me`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/me`
- Auth: HTTP bearer

Name, time zone, locale and the account-wide display settings. Email, password and keys stay on the account page.

## Request body

- object
  - `first_name` string
  - `last_name` string
  - `time_zone` string: An IANA name or a Rails zone name
  - `locale` string
  - `title_bar_enabled` boolean: Show the title bar on every screen
  - `low_battery_notification_email` string, nullable
  - `account_name` string, nullable

## Response `200`

Takes a Rails zone name as well

- object
  - `data` User
    - `id` integer
    - `name` string
    - `email` string
    - `first_name` string
    - `last_name` string
    - `locale` string
    - `time_zone` string
    - `time_zone_iana` string
    - `utc_offset` integer
    - `title_bar_enabled` boolean
    - `account_name` string, nullable
    - `low_battery_notification_email` string, nullable
    - `api_key` string: Only when the request authenticated with the account API key

## Other responses

- `401`: Unauthorized
- `422`: A locale the app does not have

---

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