cURL
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" }
Updates the user data for the authenticated user.
CLI Usage: vastai set user --file <file_path>
vastai set user --file <file_path>
API key must be provided in the Authorization header
Normalized email address.
"user@example.com"
Username of the user.
"johndoe"
Full name of the user.
"John Doe"
Success response
true
"Operation completed successfully"