setProfileImage

Update the current user's profile image, or the user with the given session ID, with the provided image data.

Return

A ClerkResult containing the ImageResource if the operation was successful, or a ClerkErrorResponse if it failed.

Parameters

file

The image file to set as the user's profile image.