> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/user/update-profile-picture.md).

# Update Profile Picture

The `PUT /user/profile/update-profile-picture/`  endpoint allows users to update their profile picture.

***

#### Parameters

| **Name**      | **Type** | **Location** | **Description**                         |
| ------------- | -------- | ------------ | --------------------------------------- |
| `profile_pic` | File     | formData     | The new profile picture to be uploaded. |

***

#### Responses

**Response Content Type**

* `application/json`

**Response Codes**

| **Code** | **Description**                                                               |
| -------- | ----------------------------------------------------------------------------- |
| `200`    | Profile picture updated successfully. Returns the URL of the updated picture. |

**Example Response**

```json
{
  "profile_pic": "https://example.com/uploads/profile-picture.jpg"
}
```
