Use this endpoint to set or replace the profile picture for the authenticated user. The request must be sent asDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/harshalw2003/BidAuc/llms.txt
Use this file to discover all available pages before exploring further.
multipart/form-data with the image attached under the profilePicture field. Once the upload succeeds, the server returns the path to the newly stored file and the user’s profilePicture field is updated automatically.
If the user already has a custom profile picture, it is permanently deleted from the server when a new image is uploaded successfully.
Endpoint
multipart/form-data
Request parameters
The image file to use as the profile picture. Sent as a multipart form field. Common formats such as JPEG, PNG, and WebP are accepted.
Example request
Success response
Error responses
404 — user not found:Response fields
true when the image was uploaded and the user record was updated.Human-readable status message.
Server path to the newly uploaded profile picture. Present only on success. The path follows the pattern
/public/static/Assets/uploads/profile-pictures/{timestamp}-{random}.{ext}.