---
title: "Modifying a User"
method: PATCH
path: "/v1/users/{actorId}"
tags: ["Users"]
---

# Modifying a User

`PATCH /v1/users/{actorId}`

You can `PATCH` JSON data to update User details. Not all user information is modifiable; right now, the following fields may be updated:

* `displayName` sets the friendly display name the web interface uses to refer to the user.

* `email` sets the email address associated with the account.

When user details are updated, the `updatedAt` field will be automatically updated.

## Path parameters

- `actorId` string, required

## Response `200`

OK

- object
  - `createdAt` string, required — ISO date format
  - `displayName` string, required — All `Actor`s, regardless of type, have a display name
  - `id` number, required
  - `type` 'user' | 'field_key' | 'public_link' | 'singleUse', required — the Type of this Actor; typically this will be `user`.
  - `updatedAt` string — ISO date format
  - `deletedAt` string — ISO date format
  - `email` string, required — Only `User`s have email addresses associated with them

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.net/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getodk/odk-central-api/versions/d8f5a0886a8b/schema)
