PATCH
/
users
/
me
{
"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

Body

application/json
password
string | null
email
string<email> | null
is_active
boolean | null
is_superuser
boolean | null
is_verified
boolean | null
role
enum<string> | null
Available options:
basic,
admin
first_name
string | null
last_name
string | null
settings
object | null

Response

Successful Response

id
string<uuid>
required
email
string<email>
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