mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Merge pull request #1654 from stefroussos/patch-1
Changed supabase.auth.api.delete to .deleteUser
This commit is contained in:
1 file changed
+1
-1
@@ -471,7 +471,7 @@ pages:
|
||||
isSpotlight: true
|
||||
js: |
|
||||
```js
|
||||
const { user, error } = await supabase.auth.api.delete(
|
||||
const { user, error } = await supabase.auth.api.deleteUser(
|
||||
'715ed5db-f090-4b8c-a067-640ecee36aa0',
|
||||
'YOUR_SERVICE_ROLE_KEY'
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user