---
title: "set user"
method: PUT
path: "/api/v0/users/"
tags: ["Accounts"]
---

# set user

`PUT /api/v0/users/`

Updates the user data for the authenticated user.

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

## Request body

- object
  - `normalized_email` string — Normalized email address.
  - `username` string — Username of the user.
  - `fullname` string — Full name of the user.

## Response `200`

Success response

- SuccessResponse
  - `success` boolean
  - `msg` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
