cURL
curl --request POST \ --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-logout \ --header 'Authorization: Bearer <token>'
{ "success": true, "status": 200, "data": { "message": "Logged out successfully." } }
Revokes the current session server-side. The Bearer token is immediately invalidated.
JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.
/auth-verify
/auth-signup
bearer_token
Session revoked
true
200
Show child attributes