---
title: "Update a user (legacy)"
method: PUT
path: "/users/{user_id}"
tags: ["Users"]
deprecated: true
---

# Update a user (legacy)

`PUT /users/{user_id}`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/users/{user_id}`
- Auth: HTTP bearer

> **Deprecated.**

## Path parameters

- `user_id` string, required

## Request body

- S12ThepubV1ThePubServiceUpdateUserBody: The parameters for `UpdateUser`
  - `firstname` string: The first name of the user. Optional
  - `lastname` string: The last name of the user. Optional
  - `new_email` string: The email address of the user. Optional
  - `status` 'active' | 'inactive': - active: Active user. - inactive: Inactive user.
  - `seat_type` 'full' | 'free' | 'lite'

## Response `200`

A successful response.

- S12ThepubV1UpdateUserResponse: Result returned from `UpdateUser`

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
