Update profile images

Upload a new photo for the person, the family, or both. Send the raw image as a base64 string in person and/or family; omit or blank a field to leave that photo unchanged. The person photo is resized to 250x250 and the family photo to 550x250.

Required permission: Limited Write People

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the person.

Body Params

The new photos.

string | null

The person's new photo as a base64-encoded image (with or without a data:image/...;base64, prefix). Omit or leave blank to keep the current photo. Resized to 250x250.

string | null

The family's new photo as a base64-encoded image (with or without a data:image/...;base64, prefix). Omit or leave blank to keep the current photo. Resized to 550x250.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json