---
title: "Updates a user in the database with form data"
method: POST
path: "/users/{id}"
tags: ["users"]
---

# Updates a user in the database with form data

`POST /users/{id}`

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- User
  - `id` integer
  - `user_name` string
  - `userID` string
  - `role` string
  - `realName` string

## Other responses

- `404` — User not found
- `406` — Invalid input

## Changes

- **2019-03-20** `da06240b33aa` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2019-03-13** `a0fad9e3d214` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2019-03-13** `ea0deca478db` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/changes/users/:id/post.md)

---

[API](https://skmtc.dev/maddevsio/apis/mad-devs-comedian.md) · [All operations](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maddevsio/mad-devs-comedian/revisions/cb0fb18a1de2/schema)
