---
title: "Update session configuration"
method: PUT
path: "/cohorts/{id}/session-config"
tags: ["Cohorts"]
---

# Update session configuration

`PUT /cohorts/{id}/session-config`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{id}/session-config`
- Auth: HTTP bearer

Update session count, frequency, and scheduling preferences for a cohort

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `session_count` integer: Number of coaching sessions
  - `session_frequency` 'weekly' | 'biweekly' | 'monthly': Frequency of coaching sessions
  - `preferred_days` string[]: Preferred days for sessions
  - `preferred_times` string[]: Preferred times for sessions

## Response `200`

Session configuration updated successfully

## Other responses

- `401`: Unauthorized
- `404`: Cohort not found
- `422`: Validation error

---

[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)
