---
title: "PUT /rest/users/{emailAddress}"
method: PUT
path: "/rest/users/{emailAddress}"
tags: ["user-controller"]
---

# PUT /rest/users/{emailAddress}

`PUT /rest/users/{emailAddress}`

## Request

- Base URL: `http://172.18.0.2:3333`
- URL: `http://172.18.0.2:3333/rest/users/{emailAddress}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ucdavis/apis/auth-service/docs/rest/users/:emailAddress/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `emailAddress` string, required

## Request body

- Users
  - `id` integer
  - `emailAddress` string
  - `password` string
  - `roles` Roles[]
    - `id` integer
    - `name` string

## Response `200`

OK

- object
  - `cancelled` boolean
  - `done` boolean

---

[API](https://skmtc.dev/ucdavis/apis/auth-service.md) - [All operations](https://skmtc.dev/ucdavis/apis/auth-service/llms.txt) - [OpenAPI document](https://skmtc.dev/ucdavis/apis/auth-service/revisions/78064517fe83?raw)
