---
title: "Set the Profile Image of a Member"
method: POST
path: "/wolfconnect/members/v1/{memberId}/profile-image"
tags: ["Members"]
---

# Set the Profile Image of a Member

`POST /wolfconnect/members/v1/{memberId}/profile-image`

## Request

- Base URL: `https://api.globalwolfweb.com`
- URL: `https://api.globalwolfweb.com/wolfconnect/members/v1/{memberId}/profile-image`
- Auth: API key in header `Authorization`

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.

## Response `200`

The profile image was set. No response content.

## Other responses

- `400`: Error Code 1002: A parameter was missing.
- `404`: Error Code 1001: The memberId parameter is invalid. Error Code 404: The member could not be found.

---

[API](https://skmtc.dev/lwolf/apis/wolfconnect-api.md) · [All operations](https://skmtc.dev/lwolf/apis/wolfconnect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lwolf/apis/wolfconnect-api/revisions/ef84b978ad6f?raw)
