---
title: "Update an individual session"
method: PATCH
path: "/cohorts/{id}/sessions/{sessionId}"
tags: ["Cohorts"]
---

# Update an individual session

`PATCH /cohorts/{id}/sessions/{sessionId}`

## Request

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

Update details of a specific session within a cohort

## Path parameters

- `id` string, uuid, required
- `sessionId` string, uuid, required

## Request body

- object
  - `title` string
  - `scheduled_start` string, date-time
  - `scheduled_end` string, date-time
  - `status` 'scheduled' | 'completed' | 'cancelled'
  - `zoom_link` string, uri, nullable
  - `location` string, nullable: MED-780. Free-text physical location for the calendar invite (e.g., "Room 204, 123 Main St"). When set, takes precedence over zoom_link as the calendar event's location field. The video link, if present, appears in the event description.
  - `one_on_one_type` 'standard_1_1' | 'two_on_one' | '360_debrief' | 'hogan_debrief' | 'other_assessment_debrief': 1:1 coaching topic (MED-689). Only valid when session_type = 'one_on_one_session'. Immutable once the session status is anything other than 'unscheduled' — the API responds 400 if a change is attempted on a scheduled or later session.

## Response `200`

Session updated successfully

## Other responses

- `400`: Session does not belong to this cohort, one_on_one_type was set on a non-1:1 session, or one_on_one_type change was attempted on a scheduled (or later) session.
- `401`: Unauthorized
- `404`: Cohort or session 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)
