---
title: "Assign or change coach for a participant's 1:1 sessions"
method: PUT
path: "/cohorts/{cohortId}/sessions/one-on-one/participants/{participantUserId}/coach"
tags: ["Sessions"]
---

# Assign or change coach for a participant's 1:1 sessions

`PUT /cohorts/{cohortId}/sessions/one-on-one/participants/{participantUserId}/coach`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/sessions/one-on-one/participants/{participantUserId}/coach`
- Auth: none declared

Updates coach_id on all unscheduled 1:1 sessions for the participant. Scheduled/completed sessions are not affected. E18-2.

## Path parameters

- `cohortId` string, required
- `participantUserId` string, required

## Request body

- object
  - `coach_user_id` string, nullable, required: Coach user ID to assign, or null to unassign

## Response `200`

Coach assignment updated

## Other responses

- `400`: Invalid input
- `404`: Cohort 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)
