v51

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

Get OAuth 2.0 Session Logout Request

Use this endpoint to fetch an Ory OAuth 2.0 logout request.

get/admin/oauth2/auth/requests/logout

Query parameters

logout_challengestring required

Response

oAuth2LogoutRequest

challengestring

Challenge is used to retrieve/accept/deny the logout request.

expires_atstring date-time
request_urlstring

RequestURL is the original Logout URL requested.

requested_atstring date-time
rp_initiatedboolean

RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.

sidstring

SessionID is the login session ID that was requested to log out.

subjectstring

Subject is the user for whom the logout was requested.

Example response

{
  "client": {
    "scope": "scope1 scope-2 scope.3 scope:4"
  }
}