Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: fix Javascript sign out syntax (#39279)

Timothy Lim1e6941df4dba
diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml
index 249d310b83c..169464ae0fc 100644
--- a/apps/docs/spec/supabase_js_v2.yml
+++ b/apps/docs/spec/supabase_js_v2.yml
@@ -1197,14 +1197,14 @@ functions:
isSpotlight: false
code: |
```js
- const { error } = await supabase.auth.signOut('local')
+ const { error } = await supabase.auth.signOut({ scope: 'local' })
```
- id: sign-out-other-sessions
name: Sign out (other sessions)
isSpotlight: false
code: |
```js
- const { error } = await supabase.auth.signOut('others')
+ const { error } = await supabase.auth.signOut({ scope: 'others' })
```
- id: verify-otp
title: 'verifyOtp()'