Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
method supabase.GoTrueAdminApi.prototype.signOut
Re-export
import { supabase } from "https://deno.land/x/deco@1.72.0/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; }>