Update current user profile
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Serializer for updating user profile including billing preferences.
first_name
string
length ≤ 150
User's first name
last_name
string
length ≤ 150
User's last name
receives_hourly_email
boolean
Whether the user receives hourly email reports with new users and file uploads
truefalse
content-type
string
enum
Defaults to application/json
Generated from available request content types
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Allowed:
application/json``application/x-www-form-urlencoded``multipart/form-data
`` 200
object
Serializer for updating user profile including billing preferences.
id
string
required
username
string
required
string
required
first_name
string
length ≤ 150
User's first name
last_name
string
length ≤ 150
User's last name
receives_hourly_email
boolean
Whether the user receives hourly email reports with new users and file uploads
email_confirmed
boolean
required
Whether the user's email address has been verified
passwordless_login
boolean
required
Whether the user can only login via social auth (no password set)
subscription_tier
string
required
The user's subscription tier (demo or gather)
created_at
date-time
required
ShellNodeRubyPHPPython
Base URL
https://api.flextract.dev/api/v1/users/me/
xxxxxxxxxx
curl --request PATCH \
--url https://api.flextract.dev/api/v1/users/me/ \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
{
"id": "abc123def456",
"username": "example_user",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"receives_hourly_email": true,
"email_confirmed": true,
"passwordless_login": false,
"subscription_tier": "demo",
"created_at": "2023-01-01T00:00:00Z"
}
* * *