---
title: "Revoke Consent"
method: POST
path: "/api/consents/{grant_id}/revoke"
tags: ["Consents"]
---

# Revoke Consent

`POST /api/consents/{grant_id}/revoke`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/consents/{grant_id}/revoke`
- Auth: HTTP bearer

Revoke (or decline, if still pending) a grant that touches me.

## Path parameters

- `grant_id` string, uuid, required

## Response `200`

Successful Response

- ConsentActionResponse
  - `id` string, required
  - `status` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
