v51

latestSwagger 2.0raw.githubusercontent.com2026-08-015253175.3 KB
oAuth2

Revoke OAuth 2.0 Consent Sessions of a Subject

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.

delete/admin/oauth2/auth/sessions/consent

Query parameters

subjectstring

OAuth 2.0 Consent Subject

The subject whose consent sessions should be deleted.

clientstring

OAuth 2.0 Client ID

If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.

consent_request_idstring

Consent Request ID

If set, revoke all token chains derived from this particular consent request ID.

allboolean

Revoke All Consent Sessions

If set to true deletes all consent sessions by the Subject that have been granted.

Response

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