---
title: "Update the user account data"
method: PATCH
path: "/users/{userId}/"
tags: ["Accounts", "public"]
---

# Update the user account data

`PATCH /users/{userId}/`

Updates the account information for the authenticated user.

## Path parameters

- `userId` string, required

## Headers

- `x-m2-organization-id` string, required

## Request body

- union — The parameters required to patch a user's account information. At least one of email or emailVerified must be provided.
  - object
    - `email` string, required
    - `emailVerified` boolean
  - object
    - `email` string
    - `emailVerified` boolean, required

## Response `200`

The information of the patched user

- union
  - object — The response to querying a user's account information.
    - `name` string
    - `pictureUrl` string
    - `email` string
    - `emailVerified` boolean
    - `evmLinkedWallet` object
      - `nonce` string, required
      - `address` string, required
      - `verified` boolean, required
    - `evmWallet` object
      - `nonce` string, required
      - `address` string, required
      - `verified` boolean, required
    - `emailDomain` string
    - `isGuest` boolean
    - `tenantId` string — The ID of a tenant
    - `organizationId` string — The ID of an organization
  - object — The response to querying a user's account information.
    - `name` string
    - `pictureUrl` string
    - `email` string
    - `emailVerified` boolean
    - `evmLinkedWallet` object
      - `nonce` string, required
      - `address` string, required
      - `verified` boolean, required
    - `evmWallet` object
      - `nonce` string, required
      - `address` string, required
      - `verified` boolean, required
    - `emailDomain` string
    - `isGuest` boolean

---

[API](https://skmtc.net/otherside/apis/accounts.md) · [All operations](https://skmtc.net/otherside/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/accounts/revisions/99b138ac9152/schema)
