---
title: "PATCH /api/v1/user-accounts/{userId}/image"
method: PATCH
path: "/api/v1/user-accounts/{userId}/image"
tags: ["Users"]
---

# PATCH /api/v1/user-accounts/{userId}/image

`PATCH /api/v1/user-accounts/{userId}/image`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/user-accounts/{userId}/image`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Update user account image

## Path parameters

- `userId` string, required

## Request body

- object
  - `imageId` string

## Response `200`

OK

- ApiUserAccountResponse
  - `activated` boolean
  - `createdAt` string, date-time
  - `customerOrganizationId` string, nullable
  - `email` string
  - `emailVerified` boolean
  - `id` string
  - `imageId` string, nullable
  - `imageUrl` string, nullable
  - `joinedOrgAt` string, date-time
  - `mfaEnabled` boolean
  - `name` string
  - `partnerOrganizationId` string, nullable
  - `userRole` string

---

[API](https://skmtc.dev/distr/apis/distr-api-reference.md) - [All operations](https://skmtc.dev/distr/apis/distr-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/distr/apis/distr-api-reference/revisions/7dcafe205f83?raw)
