---
title: "Update a user"
method: PATCH
path: "/api/v1/users/{id}"
tags: ["Users"]
---

# Update a user

`PATCH /api/v1/users/{id}`

## Request

- Base URL: `https://api.atono.io`
- URL: `https://api.atono.io/api/v1/users/{id}`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `id` string, uuid, required

## Request body

- RequestUserUpdateResourceV1
  - `data` UserUpdateResourceV1, required: A user is an individual with access to Atono, defined by a unique email address and optional profile details.
    - `type` string, required: Identifies the type of resource.
    - `id` string, uuid, required: The unique identifier for the resource, typically a UUID.
    - `attributes` UserUpdateResourceV1Attributes, required: Contains the structured data fields that describe the resource, such as properties, settings, and timestamps.
      - `fullName` string, nullable: The user’s full name, stored as a single field.

## Response `200`

Successfully updated the user’s information.

- SingleResourceBodyUserResourceV1
  - `data` UserResourceV1: A user is an individual with access to Atono, defined by a unique email address and optional profile details.
    - `type` string: Identifies the type of resource.
    - `id` string, uuid: The unique identifier for the resource, typically a UUID.
    - `attributes` UserResourceV1Attributes: Contains the structured data fields that describe the resource, such as properties, settings, and timestamps.
      - `createdAt` string, date-time: The date and time the user account was created.
      - `updatedAt` string, date-time: The date and time the user’s information (e.g., name, status, or roles) was last updated.
      - `invitedAt` string, date-time: The date and time the user was sent an invitation to join the workspace.
      - `email` string, email: The user’s email address. Must be unique across all users.
      - `fullName` string, nullable: The user’s full name, stored as a single field.
      - `deleted` boolean: Indicates whether the user has been deleted.
  - `errors` ProblemDetail[]: A list of errors returned with the response, if the request could not be completed. Each object includes details about a specific issue.
    - `id` string: A unique identifier for this specific error occurrence. Useful for debugging and support.
    - `links` object, nullable: Links related to the error. May include a URL to relevant documentation or support resources.
    - `status` integer: The HTTP status code associated with the error (e.g., 400, 404, 422).
    - `code` string: An internal code that identifies the type or category of the error.
    - `title` string: A short summary of the problem.
    - `source` ProblemSource: Identifies the part of the request that caused the error. Only one source is present per error.
      - `pointer` string, nullable: Specifies the path to the field in the request body that caused the error.
      - `parameter` string, nullable: Identifies a query parameter in the request URL that caused the error.
      - `header` string, nullable: Identifies the request header that caused the error.
    - `detail` string: Additional information about the error, intended to provide more context than the title.
    - `meta` unknown
  - `meta` unknown
  - `included` unknown[]: A list of related resources included in the response, either automatically by the API or in response to an include parameter in the request. Each item contains a full resource object (e.g., users, teams, acceptance criteria).
    - unknown
  - `links` unknown

## Other responses

- `403`: The authenticated user does not have permission to update the user.
- `404`: The user could not be found.

---

[API](https://skmtc.dev/atono/apis/backend-api.md) · [All operations](https://skmtc.dev/atono/apis/backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atono/apis/backend-api/revisions/78a57b1d8c3d?raw)
