Revoke OAuth 2.0 Consent Sessions of a Subject
DELETE {{baseUrl}}/admin/oauth2/auth/sessions/consent?subject=<string>&client=<string>&all=<boolean>
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.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subject | string | (Required) OAuth 2.0 Consent Subject |
The subject whose consent sessions should be deleted. |
| client
| string | | OAuth 2.0 Client ID
If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. |
| all
| string | | Revoke All Consent Sessions
If set to true
deletes all consent sessions by the Subject that have been granted. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |