Skip to main content
PUT
Update Current User

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
normalized_email
string

Normalized email address.

Example:

"user@example.com"

username
string

Username of the user.

Example:

"johndoe"

fullname
string

Full name of the user.

Example:

"John Doe"

Response

Updated user object returned

id
integer

User ID

username
string

Username

email
string

Email address

ssh_key
string

Default SSH public key

balance
number

Account credit balance (USD)

email_verified
boolean

Whether the email has been verified

huggingface_cloud_sync_enabled
boolean

Whether Hugging Face cloud sync is currently enabled for this authenticated user

paypal_email
string

PayPal payout email

wise_email
string

Wise payout email

has_payout
boolean

Whether a payout method is configured