---
title: "Update profile"
method: PUT
path: "/profile"
tags: ["Profile"]
---

# Update profile

`PUT /profile`

Update the current user's profile.

## Request body

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

## Response `200`

Updated user profile information.

- object
  - `data` Profile, required — A Terminal shop user's profile. (We have users, btw.)
    - `user` 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 profile not found.

## Changes

- **2024-12-18** `416a8af6f912` — 2 breaking
  - the request property `email` became not nullable
  - the request property `name` became not nullable
- **2024-12-16** `56a8a6f18e6c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/profile/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-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/cb4577d95656/schema)
