Clear session + RP-initiated logout redirect
Clears the Better Auth session cookie and, if post_logout_redirect_uri matches one registered on the client, redirects there. Otherwise redirects to /.
curl -X GET "https://your-instance/api/oauth/logout"Empty
Empty
{
"type": "https://docs.appstrate.dev/errors/rate-limited",
"title": "Rate Limited",
"status": 429,
"detail": "Too many requests. Please try again shortly.",
"code": "rate_limited",
"request_id": "req_abc123",
"retry_after": 30
}