---
title: "Update scheduling preferences"
method: PUT
path: "/cohorts/{id}/scheduling-preferences"
tags: ["Cohorts"]
---

# Update scheduling preferences

`PUT /cohorts/{id}/scheduling-preferences`

## Request

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

Update preferred days and times for a cohort

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `preferred_days` string[]
  - `preferred_times` string[]

## Response `200`

Scheduling preferences 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)
