Skip to main content
POST
/
auth-logout
Logout and revoke session
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."
  }
}

Authorizations

Authorization
string
header
required

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.

Response

Session revoked

success
boolean
Example:

true

status
integer
Example:

200

data
object