---
title: "Update user"
method: PUT
path: "/users/me"
tags: ["User"]
---

# Update user

`PUT /users/me`

Update the current user.

## Request body

- object — The user's updated information.
  - `name` string, nullable — Name of the user.
  - `email` string, nullable — Email address of the user.

## Response `200`

Updated user information.

- object
  - `data` User, required — A Terminal shop user. (We have users, btw.)
    - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
    - `name` string, nullable, required — Name of the user.
    - `email` string, nullable, required — Email address of the user.
    - `fingerprint` string, nullable, required — The user's fingerprint, derived from their public SSH key.
    - `stripeCustomerID` string, required — Stripe customer ID of the user.

## Other responses

- `404` — User not found.

## Changes

- **2024-12-16** `021e5a9aa9e2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/users/me/put.md)

---

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