# Set the Profile Image of a Member **POST /wolfconnect/members/v1/{memberId}/profile-image** Sets the profile image for a member. The request must be a multi-part request containing the original image and the coordinates to use to crop the image. PUT is also supported for this resource. The coordinates should be specified in an aspect ratio of 3:4. For instance, if you have an image that is 800 X 800, and you want the center of the image selected for the profile image, you would pass in the following for the coordinates: - Left: 100 - Top: 0 - Width: 600 - Bottom: 800 This will set the profile image to start 100 pixels from the left and go 600 pixels wide. 600 X 800 is in the 3:4 ratio. You can specify 0 for all the coordinates and the API will create the biggest possible image from the original image. It would save the same image as above if all parameters were set to 0. It will center the rectangle horizontally if the original image is too wide and it will use the top of the original image if it is too long. ## Servers - Production: https://api.globalwolfweb.com (Production) - Test: https://api-sb.globalwolfweb.com (Test) ## Authentication methods - Lone wolf token ## Parameters ### Path parameters - **memberId** (string) The Lone Wolf Id of the member. ### Body: multipart/form-data (object) - **left** (integer) The left image coordinate of the cropping rectangle. - **top** (integer) The top image coordinate of the cropping rectangle. - **width** (integer) The width of the cropping rectangle. - **height** (integer) The height of the cropping rectangle. - **profileImage** (string(binary)) The original image file to use for the profile image. This is the image that will be cropped using the coordinates above. ## Responses ### 200 The profile image was set. No response content. ### 400 Error Code 1002: A parameter was missing. #### Body: application/json (object) - **Code** (integer) The Lone Wolf Error Code. See the Error Codes section of the introduction. - **Message** (string) The message that corresponds to the Code value. - **Details** (string) The exact problem that occurred to give this error response. ### 404 Error Code 1001: The memberId parameter is invalid. Error Code 404: The member could not be found. #### Body: application/json (object) - **Code** (integer) The Lone Wolf Error Code. See the Error Codes section of the introduction. - **Message** (string) The message that corresponds to the Code value. - **Details** (string) The exact problem that occurred to give this error response. [Powered by Bump.sh](https://bump.sh)