---
title: "Set or clear the per-session topic override (MED-702)"
method: PUT
path: "/cohorts/{cohortId}/sessions/{sessionId}/topic-override"
tags: ["Sessions"]
---

# Set or clear the per-session topic override (MED-702)

`PUT /cohorts/{cohortId}/sessions/{sessionId}/topic-override`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/sessions/{sessionId}/topic-override`
- Auth: none declared

Sets sessions.topic_override. When present, this value takes precedence over the session-number-level topic and the legacy topic_id->topics.name. Pass null to clear the override and re-inherit the session-number topic.

## Path parameters

- `cohortId` string, uuid, required
- `sessionId` string, uuid, required

## Request body

- object
  - `topic_override` string, nullable

## Response `200`

Override saved

## Other responses

- `401`: Unauthorized
- `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)
