PUT
/
api
/
v0
/
users
/
set user
curl --request PUT \
  --url https://console.vast.ai/api/v0/users/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "normalized_email": "user@example.com",
  "username": "johndoe",
  "fullname": "John Doe"
}'
{
  "success": true,
  "msg": "Operation completed successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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

Success response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"