Users

Update my profile

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

patch/api/me

Request

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

Request body

first_namestring
last_namestring
time_zonestring

An IANA name or a Rails zone name

localestring
title_bar_enabledboolean

Show the title bar on every screen

low_battery_notification_emailstring nullable
account_namestring nullable

Example request

{
  "time_zone": "Europe/London",
  "locale": "en"
}

Response

Takes a Rails zone name as well

Example response

{
  "data": {
    "id": 42,
    "name": "Jim Bob",
    "email": "jimbob@gmail.net",
    "first_name": "Jim",
    "last_name": "Bob",
    "locale": "en",
    "time_zone": "Eastern Time (US & Canada)",
    "time_zone_iana": "America/New_York",
    "utc_offset": -14400,
    "title_bar_enabled": true,
    "api_key": "user_xxxxxx"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.