---
title: "Revoke OAuth 2.0 Consent Sessions of a Subject"
method: DELETE
path: "/admin/oauth2/auth/sessions/consent"
tags: ["oAuth2"]
---

# Revoke OAuth 2.0 Consent Sessions of a Subject

`DELETE /admin/oauth2/auth/sessions/consent`

This endpoint revokes a subject's granted consent sessions and invalidates all
associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.

## Query parameters

- `subject` string
- `client` string
- `consent_request_id` string
- `all` boolean

## Response `204`

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
typically 204.

## Other responses

- `default` — errorOAuth2

---

[API](https://skmtc.net/ory/apis/ory-hydra.md) · [All operations](https://skmtc.net/ory/apis/ory-hydra/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ory/ory-hydra/versions/a302a90a0e8a/schema)
