---
title: "Update current entity user"
method: PATCH
path: "/entity_users/me"
tags: ["Entity users"]
---

# Update current entity user

`PATCH /entity_users/me`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/entity_users/me`
- Auth: HTTP bearer

The user ID is inferred fron the `Authorization` header, which must contain a user-level access token.

## Headers

- `x-monite-version` string, required

## Request body

- object
  - `email` string, email: The user's business email address.
  - `first_name` string: The user's first name.
  - `last_name` string: The user's last name.
  - `phone` string: The user's phone number.
  - `title` string: The user's job title.

## Response `200`

Successful Response

- EntityUserResponse
  - `id` string, uuid, required: A unique Monite-assigned ID of this entity user. Can be used with `POST /auth/token` to generate an API access token for this user.
  - `created_at` string, date-time, required: UTC date and time when this user was created in Monite.
  - `updated_at` string, date-time, required: UTC date and time when this user was last updated.
  - `email` string, email: The user's business email address.
  - `first_name` string: The user's first name.
  - `last_name` string: The user's last name.
  - `login` string, required: The username assigned to this user. Usernames must be unique within the entity. The `login` value is not used by Monite but may be used by partner applications, for example, to map the users between the partner's platform and Monite.
  - `phone` string: The user's phone number.
  - `role_id` string, uuid, required: ID of the role assigned to this user. The role defines the user's [access permissions](https://docs.monite.com/api/concepts/authentication#permissions) within the entity. Each user has just one role.
  - `status` 'active' | 'deleted', required
  - `userpic_file_id` string, uuid: Unused. Reserved for future use. Currently always returns `null`.

## Other responses

- `400`: Bad Request
- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
