---
title: "Remove topic assignment from session"
method: DELETE
path: "/cohorts/{id}/session-topics/{sessionNumber}"
tags: ["Cohorts"]
---

# Remove topic assignment from session

`DELETE /cohorts/{id}/session-topics/{sessionNumber}`

## Request

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

Remove the topic assignment for a session number

## Path parameters

- `id` string, uuid, required
- `sessionNumber` integer, required

## Response `204`

Topic assignment removed successfully

## Other responses

- `400`: Invalid session number
- `401`: Unauthorized
- `404`: Cohort not found or topic assignment 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)
