GET
/
users
/
{id}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "is_active": true,
  "is_superuser": false,
  "is_verified": false,
  "role": "basic",
  "first_name": "<string>",
  "last_name": "<string>",
  "settings": {}
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

id
string
required

Response

200
application/json
Successful Response
id
string
required
email
string
required
role
enum<string>
required
Available options:
basic,
admin
settings
object
required
is_active
boolean
default:true
is_superuser
boolean
default:false
is_verified
boolean
default:false
first_name
string | null
last_name
string | null

Was this page helpful?