---
title: "Clear the attendance of a 1:1 or check-in (MED-1360)"
method: DELETE
path: "/cohorts/{cohortId}/sessions/{sessionId}/attendance"
tags: ["Sessions"]
---

# Clear the attendance of a 1:1 or check-in (MED-1360)

`DELETE /cohorts/{cohortId}/sessions/{sessionId}/attendance`

## Request

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

Undoes a wrong attendance mark. Resets each attendance row to pending in place (withdrawn rows stay withdrawn) and sets the session back to scheduled (unscheduled when it has no date). Refused when a payment for the session is already in Bill.com.

## Path parameters

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

## Response `200`

Attendance cleared

## Other responses

- `400`: Not a 1:1 session, or no attendance to clear
- `401`: Unauthorized
- `404`: Session not found
- `409`: A payment for the session is already in Bill.com

---

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