Function ory_client::apis::v0alpha2_api::submit_self_service_logout_flow_without_browser[][src]

pub async fn submit_self_service_logout_flow_without_browser(
    configuration: &Configuration,
    submit_self_service_logout_flow_without_browser_body: SubmitSelfServiceLogoutFlowWithoutBrowserBody
) -> Result<(), Error<SubmitSelfServiceLogoutFlowWithoutBrowserError>>
Expand description

Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.