---
title: "Update User"
method: PUT
path: "/v1/user/"
tags: ["User"]
---

# Update User

`PUT /v1/user/`

Update a user's information.

## Query parameters

- `flwr_aid` string, required

## Request body

- UserDetails — Schema for user details.
  - `tagline` string, nullable
  - `affiliation` string, nullable
  - `location` string, nullable
  - `website` string, nullable
  - `social_links` SocialLinks — Schema for social links.
    - `x` string, nullable
    - `github` string, nullable
    - `linkedin` string, nullable
    - `huggingface` string, nullable
    - `scholar` string, nullable

## Response `200`

Successful Response

- User — Schema for user.
  - `flwr_aid` string, nullable
  - `username` string, nullable
  - `tagline` string, nullable
  - `affiliation` string, nullable
  - `location` string, nullable
  - `website` string, nullable
  - `social_links` SocialLinks — Schema for social links.
    - `x` string, nullable
    - `github` string, nullable
    - `linkedin` string, nullable
    - `huggingface` string, nullable
    - `scholar` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/flower/apis/superlink-api.md) · [All operations](https://skmtc.dev/flower/apis/superlink-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flower/superlink-api/revisions/adf853ac4f41/schema)
