Updates a person's profile picture with support for upload and set modes.

Two modes of operation:

1. Upload Mode: When no request body is provided, returns a presigned URL for direct image upload to S3. Use a PUT request to upload your image file to the returned signed URL.

2. Set Mode: When a request body with ImageUrl is provided, sets the profile picture to the specified URL
Permissions
Person: Write
HourlyProfile: Write

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

The unique identifier of the account

int64
required

The unique identifier of the person

Body Params

The profile picture request. Can be null for upload mode or contain an ImageUrl for set mode.
When null, generates a presigned upload URL. When provided, sets the profile picture to the specified URL.

string | null
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

400

Bad Request - Invalid parameters or request format

401

Unauthorized - User is not authenticated

403

Forbidden - User lacks required permissions or resource not found

422

Unprocessable Entity - Unable to process the profile image (e.g., invalid format, upload failure)

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