---
title: "Unlink Patient Sessions"
method: DELETE
path: "/api/v2/ml-scribe/open-api/patient-profiles/{patient_profile_id}/sessions"
tags: ["Heidi API"]
---

# Unlink Patient Sessions

`DELETE /api/v2/ml-scribe/open-api/patient-profiles/{patient_profile_id}/sessions`

## Request

- Base URL: `https://au.api.heidihealth.com`
- URL: `https://au.api.heidihealth.com/api/v2/ml-scribe/open-api/patient-profiles/{patient_profile_id}/sessions`
- Auth: HTTP bearer

unlink sessions from patient profile

## Path parameters

- `patient_profile_id` string, required

## Request body

- OpenAPIUnlinkPatientSessionsRequest
  - `session_ids` string[], required

## Response `200`

Successful Response

- OpenAPIUnlinkPatientSessionsResponse
  - `data` MinimumSessionView[], required (unresolved $ref)

## Other responses

- `400`: Bad Request
- `422`: Validation Error

---

[API](https://skmtc.dev/heidihealth/apis/heidi-api-documentation.md) - [All operations](https://skmtc.dev/heidihealth/apis/heidi-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/heidihealth/apis/heidi-api-documentation/revisions/d764c8c0883f?raw)
