---
title: "Create a user picture (DEPRECATED)"
method: POST
path: "/orgs/{orgId}/users/{userId}/userPictures"
tags: ["orgs/users"]
deprecated: true
---

# Create a user picture (DEPRECATED)

`POST /orgs/{orgId}/users/{userId}/userPictures`

> **Deprecated.**

This endpoint is deprecated. Use setUserAvatarPicture instead.<br/><br/>__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-user:w,o:w,s-o:w<br/><br/>__Endpoint name__: createUserPicture

## Path parameters

- `orgId` integer, required
- `userId` integer, required

## Request body

- object
  - `isAvatar` boolean
  - `picture` object, required
    - `base64` string, required

## Response `201`

Created

- object
  - `data` object
    - `id` number, required
    - `isAvatar` boolean
    - `createdAt` string, date
    - `updatedAt` string, date
    - `picture` object
      - `contentType` string
      - `fileName` string
      - `url` string, nullable
  - `meta` object
    - `accessToken` object, nullable
      - `scopeUpdatedAt` string, date
    - `siteSpecificAccess` object, nullable
      - `isSiteSpecific` boolean
      - `siteIds` integer[], nullable
      - `siteIdsByScope` object, nullable
        - `string` integer[], nullable

---

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