/meUpdate current user profile
Base URL https://api.vseepreview.com/api_v3 · operationId updateMe
Authentication: User Token — Requires a user access token from login or SSO.
Update the profile of the currently authenticated user.
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) |
Content type: application/x-www-form-urlencoded
| Field | Type | Required | Enum | Description |
|---|---|---|---|---|
first_name | string | no | ||
last_name | string | no | ||
password | string | no | Send alone for first-time password set, or with old_password to change it | |
old_password | string | no | Required when changing password | |
dob | string | no | Date of birth (YYYY-MM-DD) | |
gender | string | no | male, female | |
nationality | string | no | ||
tos | integer | no | 0, 1 | 0 - not accepted, 1 - accepted Terms of Service |
phone | string | no | ||
street_addr | string | no | ||
state | string | no | 2-letter state code | |
zip | string | no | ||
city | string | no | ||
pcp_name | string | no | Primary Care Physician Name | |
pcp_phone | string | no | Primary Care Physician Phone (10 digits) | |
timezone | string | no | Timezone string (e.g. `America/New_York`, `Asia/Tokyo`) | |
photo | string | no | File ID from POST /files API. Pass empty string to delete avatar. |
Example:
{
"password": "example_password",
"dob": "1983-10-02",
"nationality": "Vietnamese"
}
200 — Successful updateUpdate profile — Profile updated
{
"data": {
"id": "201",
"first_name": "An",
"last_name": "Nguyen",
"username": "member-201",
"dob": "1983-10-02",
"email": "an+user1@vsee.com",
"gender": 2,
"active": true,
"nationality": "Vietnamese",
"tos": true
}
}
Set first password — Password set successfully
{
"data": {
"id": "201",
"first_name": "An",
"last_name": "Nguyen",
"active": true
}
}
Change password — Password changed
{
"data": {
"id": "201",
"first_name": "An",
"last_name": "Nguyen",
"active": true
}
}
400 — Bad Request{
"code": 404,
"message": "Sorry, this page is not available."
}
401 — Unauthorized{
"code": 404,
"message": "Sorry, this page is not available."
}
Machine-readable: OpenAPI JSON (operationId: updateMe)