New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Accept OAuth 2.0 Session Logout Request

PUT 

/admin/oauth2/auth/requests/logout/accept

When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request.

The response contains a redirect URL which the consent provider should redirect the user-agent to.

SDK ReferenceTypeScript
acceptOAuth2LogoutRequest()
ParametersTypeRequiredDescription
logoutChallengestringrequiredOAuth 2.0 Logout Request Challenge
VariableType
dataOAuth2RedirectTo