---
title: "DELETE /api/patients/{id}/onpatient_access"
method: DELETE
path: "/api/patients/{id}/onpatient_access"
tags: ["Clinical"]
---

# DELETE /api/patients/{id}/onpatient_access

`DELETE /api/patients/{id}/onpatient_access`

## Request

- Base URL: `https://app.drchrono.com`
- URL: `https://app.drchrono.com/api/patients/{id}/onpatient_access`
- Auth: OAuth 2
  - Authorization code: `https://app.drchrono.com/o/authorize/`
  - Token URL: `https://app.drchrono.com/o/token/` scopes: `patients:read`, `patients:write`

Revoke sent onpatient invites

## Path parameters

- `id` string, required

## Query parameters

- `first_name` string
- `last_name` string
- `preferred_language` string
- `doctor` integer
- `gender` string
- `since` string
- `date_of_birth` string
- `race` string
- `chart_id` string
- `email` string
- `ethnicity` string

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Permission Denied
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/drchrono/apis/drchrono-api.md) - [All operations](https://skmtc.dev/drchrono/apis/drchrono-api/llms.txt) - [OpenAPI document](https://skmtc.dev/drchrono/apis/drchrono-api/revisions/98cabe79d150?raw)
