---
title: "Revoke an app's access"
method: POST
path: "/me/patients/{patient_id}/grants/{grant_id}/revoke"
tags: ["Patient (me)"]
---

# Revoke an app's access

`POST /me/patients/{patient_id}/grants/{grant_id}/revoke`

## Request

- Base URL: `https://platform.anpheros.com`
- URL: `https://platform.anpheros.com/me/patients/{patient_id}/grants/{grant_id}/revoke`
- Auth: HTTP bearer

## Path parameters

- `patient_id` string, required
- `grant_id` string, required

## Query parameters

- `environment` 'sandbox' | 'production'

## Headers

- `authorization` string, nullable

## Request body

- RevokeIn
  - `reason` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Missing, invalid, expired or revoked credential (`WWW-Authenticate: Bearer`).
- `422`: Validation Error

---

[API](https://skmtc.dev/anpheros/apis/anpheros-platform.md) · [All operations](https://skmtc.dev/anpheros/apis/anpheros-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/anpheros/apis/anpheros-platform/revisions/ff567b232dc3?raw)
