---
title: "Set information about the API owner"
method: PATCH
path: "/api/user"
tags: ["Users"]
---

# Set information about the API owner

`PATCH /api/user`

Updates profile information of the user who owns the API key.
Requires `edit_user_info` permission for profile fields; `edit_user_password`
permission (or admin) for changing the password.

## Request body

- UserUpdateBody — Fields that can be updated for the API owner's profile. All fields are optional; supply only those you wish to change.
  - `first_name` string — The user's first name.
  - `last_name` string — The user's last name.
  - `country` string — Country code (e.g. "US").
  - `subdivisionfirst` string — State.
  - `subdivisionsecond` string — County.
  - `subdivisionthird` string — Municipality.
  - `organization` string — Organization name.
  - `timezone` string — Time-zone string (e.g. "America/New_York").
  - `language` string — Language code (e.g. "en").
  - `password` string — New password for the user.
  - `old_password` string — Current password. Required when changing the password so that encrypted interview answers can be re-encrypted with the new key.

## Response `204`

User information updated.

## Other responses

- `400` — Bad request.
- `403` — Access denied or insufficient privileges.

---

[API](https://skmtc.dev/docassemble/apis/docassemble-api.md) · [All operations](https://skmtc.dev/docassemble/apis/docassemble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docassemble/docassemble-api/revisions/a75d7eea6826/schema)
