---
title: "Soft-delete the active file for a slot (MED-784)"
method: DELETE
path: "/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}"
tags: ["Session Content"]
---

# Soft-delete the active file for a slot (MED-784)

`DELETE /cohorts/{cohortId}/sessions/{sessionId}/content/{slot}`

## Request

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

Clears a slot by soft-deleting the currently active row. Distinct from
the AC6 replace flow on POST: this leaves the slot empty rather than
swapping it for a new file. The CM may then re-upload to the same slot
cleanly. Returns 204 on success, 404 if the slot was already empty.

## Path parameters

- `cohortId` string, uuid, required
- `sessionId` string, uuid, required
- `slot` SessionContentSlot, required (unresolved $ref)

## Response `204`

Slot cleared.

## Other responses

- `401`: Unauthorized
- `404`: Session not found, or slot was already empty.

---

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