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.
SDK ReferenceTypeScript
revokeOAuth2ConsentSessions()| Parameters | Type | Required | Description |
|---|---|---|---|
| subject | string | optional | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. |
| client | string | optional | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. |
| consentRequestId | string | optional | Consent Request ID If set, revoke all token chains derived from this particular consent request ID. |
| all | boolean | optional | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. |