---
title: "Reads and updates UserModel fields
Accepts GET, PUT, PATCH methods."
method: GET
path: "/rest-auth/user/"
tags: ["rest-auth"]
---

# Reads and updates UserModel fields
Accepts GET, PUT, PATCH methods.

`GET /rest-auth/user/`

Default accepted fields: username, first_name, last_name
Default display fields: pk, username, email, first_name, last_name
Read-only fields: pk, email

Returns UserModel fields.

## Response `200`

OK

- UserDetails
  - `pk` integer
  - `username` string, required — Requerido. 150 carácteres como máximo. Únicamente letras, dígitos y @/./+/-/_
  - `email` string, email
  - `first_name` string
  - `last_name` string

---

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