---
title: "Update current user detail"
method: PATCH
path: "/v2/current-user-detail"
tags: ["user"]
---

# Update current user detail

`PATCH /v2/current-user-detail`

Use this endpoint to modify the details of the currently logged in user on the Epsilon Retail Media platform. You can update the first name, last name, and a file ID for the user's logo.

## Request body

- V2UpdateUserProfileRequest
  - `user` Authv2UpdateUserProfile
    - `firstName` string — Specifies the first name of the user.
    - `lastName` string — Specifies the last name of the user.
    - `logoId` string — Specifies the file ID of the profile picture or logo set for the user.

## Response `200`

The details of the user currently logged into the Epsilon Retail Media platform.

- V2UpdateUserProfileResponse
  - `user` V2User
    - `id` string — The unique identifier of the user.
    - `email` string — Email ID of the user.
    - `namespace` string — Namespace to which the user belongs.
    - `firstName` string — First name of the user.
    - `lastName` string — Last name of the user.
    - `logoId` string — Id of the user's profile picture or logo.
    - `teamIds` string[] — List of team IDs associated with the user. A user can belong to multiple teams, and a comprehensive list of each team ID to which the user belongs is listed.
    - `receivedInvitation` object — Details of team invites that the user has not yet accepted. Includes the invite token, email address of the sender, team ID, team name associated with each invite, and more.

## Other responses

- `400` — There was a problem with input.
- `401` — Login failed or token not valid.
- `403` — Login failed or token not valid.
- `404` — User for specified id does not exist.
- `default` — An unexpected error response.

---

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