Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deco/deps.ts>supabase.GoTrueAdminApi#signOut

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Very Popular
Go to Latest
method supabase.GoTrueAdminApi.prototype.signOut
Re-export
import { supabase } from "https://deno.land/x/deco@1.35.3/deps.ts";
const { GoTrueAdminApi } = supabase;

Removes a logged-in session.

Parameters

jwt: string

A valid, logged-in JWT.

optional
scope: "global" | "local" | "others"

The logout sope.

Returns

Promise<{ data: null; error: AuthError | null; }>