---
title: "Update User"
method: PUT
path: "/api/v1/user/username/{username}"
---

# Update User

`PUT /api/v1/user/username/{username}`

Update a user in the database

## Path parameters

- `username` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- UpdateUserRequest — Request schema for updating user information.
  - `isOrganization` boolean, nullable
  - `fullName` string, nullable
  - `profilePictureUrl` string, nullable
  - `bio` string, nullable
  - `githubUrl` string, nullable
  - `linkedinUrl` string, nullable
  - `xUrl` string, nullable
  - `websiteUrl` string, nullable
  - `updated` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/versions/43a90513ac59/schema)
