PostProfilepictureByIdProfilePicture

Function: postProfilepictureByIdProfilePicture()

postProfilepictureByIdProfilePicture<ThrowOnError>(options): RequestResult<PostProfilepictureByIdProfilePictureResponses, PostProfilepictureByIdProfilePictureErrors, ThrowOnError>

Defined in: app/api/sdk.gen.ts:769

Uploads a new profile picture for a specific member. The UploadProfilePicture endpoint processes multipart form-data containing an image file and associates it with the member identified by the provided ID. This endpoint ensures that the upload is authorized by verifying the requester's identity against the target profile. Upon successful processing, it returns the generated path of the stored asset, which can then be used for subsequent retrieval or profile updates.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options

Options<PostProfilepictureByIdProfilePictureData, ThrowOnError>

Returns

RequestResult<PostProfilepictureByIdProfilePictureResponses, PostProfilepictureByIdProfilePictureErrors, ThrowOnError>

On this page