v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Accounts

set user

Updates the user data for the authenticated user.

CLI Usage: vastai set user --file <file_path>

put/api/v0/users/

Request body

normalized_emailstring

Normalized email address.

usernamestring

Username of the user.

fullnamestring

Full name of the user.

Example request

{
  "normalized_email": "user@example.com",
  "username": "johndoe",
  "fullname": "John Doe"
}

Response

Success response

successboolean
msgstring

Example response

{
  "success": true,
  "msg": "Operation completed successfully"
}