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

# GET /users/me/

`GET /users/me/`

Get current user.

## 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 breaking, 3 info
  - the `username` response property's maxLength was unset from `150` for the response status `200`
  - api operation id `retrieve_current_user` removed and replaced with `get_current_user`
  - the endpoint scheme security `cookieAuth` was added to the API
  - the `username` response's property pattern `^[\w.@+-]+$` was removed for the status `200`
- **2023-05-19** `f84d9240fdf2` — 2 info
  - the endpoint scheme security `cookieAuth` was removed from the API
  - added the optional property `is_superuser` to the response with the `200` status
- **2023-04-25** `62d33b790834` — 1 breaking, 1 warning, 5 info
  - removed the required property `resource` from the response with the `200` status
  - removed the optional property `is_superuser` from the response with the `200` status
  - api operation id `get_current_user` removed and replaced with `retrieve_current_user`
  - the endpoint scheme security `EDAJWTAuthentication` was removed from the API
  - …3 more

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/users/me/get.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)
