---
title: "Upload coach avatar"
method: POST
path: "/coaches/{id}/avatar"
tags: ["Coaches"]
---

# Upload coach avatar

`POST /coaches/{id}/avatar`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/coaches/{id}/avatar`
- Auth: HTTP bearer

Upload a new avatar image for a coach

## Path parameters

- `id` string, uuid, required

## Request body `multipart/form-data`

- object
  - `avatar` string, binary

## Response `200`

Avatar uploaded successfully

- object
  - `success` boolean
  - `data` object
    - `avatar_url` string

## Other responses

- `401`: Unauthorized
- `404`: Coach not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
