---
title: "PATCH /users/me/"
method: PATCH
path: "/users/me/"
tags: ["users"]
---

# PATCH /users/me/

`PATCH /users/me/`

Update current user.

## Request body

- PatchedCurrentUserUpdate
  - `first_name` string
  - `last_name` string
  - `email` string, email
  - `password` string

## Response `200`

Return current user.

- UserDetail
  - `id` integer, required
  - `username` string, required — The user's log in name.
  - `email` string, email
  - `first_name` string
  - `last_name` string
  - `is_superuser` boolean — Designates that this user has all permissions without explicitly assigning them.
  - `resource` object, required
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required

## Changes

- **2024-04-23** `cbf68ddd9760` — 1 breaking, 3 info
  - removed the required property `roles` from the response with the `200` status
  - the endpoint scheme security `EDAJWTAuthentication` was added to the API
  - the endpoint scheme security `jwtAuth` was added to the API
  - added the required property `resource` to the response with the `200` status
- **2023-08-21** `c84b4813cab1` — 1 info
  - endpoint added
- **2023-04-25** `62d33b790834` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/users/me/patch.md)

---

[API](https://skmtc.dev/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.dev/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/revisions/c04fc5f09692/schema)
