Skip to main content
GET
cURL

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Resolve user.person once per serialization pass.

user.person memoizes per instance, but distinct users in a list are distinct instances — so a list serializer would still issue one Person query per row. When used many=True this mixin routes through :class:_PersonReadThroughListSerializer, which calls User.attach_persons to batch the whole page into a single query; the per-render context cache below then dedups the name+email double-read for each user.

The context cache lives only for the lifetime of the serializer tree, so one .data render resolves each distinct user's Person at most once and re-batches fresh on the next render.

id
string<uuid>
required
read-only
email
string
required
read-only
name
string
required
read-only
is_active
boolean
required
read-only

Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

is_system_admin
boolean
required
read-only
organizations
object[]
required
read-only
date_joined
string<date-time>
required
read-only
last_login
string<date-time> | null
required
read-only
is_last_active_sysadmin
boolean
required
read-only