---
title: "Updates the extended profile of the current user."
method: PATCH
path: "/current-user"
tags: ["public", "UserProfile"]
---

# Updates the extended profile of the current user.

`PATCH /current-user`

## Request body

- UserProfileExtendedRequest — UserProfileExtended holds the profile information of a user including properties only accessible to the user.
  - `created_at` string — The time the user was first registered with Humanitec
  - `email` string — The email address of the user from the profile
  - `id` string — The User ID for this user
  - `name` string — The name the user goes by
  - `properties` object
  - `roles` object
  - `type` string — The type of the account. Could be user, service or system

## Response `200`

The extended user profile of the user.

- UserProfileExtendedResponse — UserProfileExtended holds the profile information of a user including properties only accessible to the user.
  - `created_at` string, required — The time the user was first registered with Humanitec
  - `email` string — The email address of the user from the profile
  - `id` string, required — The User ID for this user
  - `name` string, required — The name the user goes by
  - `properties` object, required
  - `roles` RolesResponse, required
  - `type` string, required — The type of the account. Could be user, service or system

## Other responses

- `400` — The request was invalid or the payload malformed.
- `401` — No token supplied.
- `403` — Token is not valid for a user.

---

[API](https://skmtc.net/humanitec/apis/humanitec-api.md) · [All operations](https://skmtc.net/humanitec/apis/humanitec-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanitec/humanitec-api/revisions/e21ad140ec3c/schema)
