Olympus Docs
ReferenceAPIsOry Hydra APIoAuth2

List OAuth 2.0 Consent Sessions of a Subject

This endpoint lists all subject's granted consent sessions, including client and granted scope.

GET /admin/oauth2/auth/sessions/consent

This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK.

Operation ID: listOAuth2ConsentSessions    Tag: oAuth2

Query parameters

NameTypeRequiredDescription
page_sizeinteger (int64)noItems per Page This is the number of items per page to return. For details on pagination please head over to the pagination documentation.
page_tokenstringnoNext Page Token The next page token. For details on pagination please head over to the pagination documentation.
subjectstringyesThe subject to list the consent sessions for.
login_session_idstringnoThe login session id to list the consent sessions for.

Responses

StatusDescriptionBody
200oAuth2ConsentSessionsapplication/json, array of object
defaulterrorOAuth2application/json, object

Generated from ../athena/openapi.json at build time.

On this page