---
title: "Edit user"
method: PUT
path: "/v1/users/{userId}.json"
tags: ["users"]
---

# Edit user

`PUT /v1/users/{userId}.json`

Update the users details

## Path parameters

- `userId` integer, required

## Query parameters

- `token` string, required

## Request body

- object
  - `dob` string
  - `first_name` string
  - `gender_id` integer
  - `last_name` string
  - `username` string

## Response `200`

successful operation

- object
  - `email` string
  - `is_agree_terms_and_conditions` string
  - `password` string
  - `username` string

## Other responses

- `404` — User not found

---

[API](https://skmtc.net/restyaplatform/apis/restyaboard.md) · [All operations](https://skmtc.net/restyaplatform/apis/restyaboard/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/restyaplatform/restyaboard/versions/bfc753befdbe/schema)
