mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Docs: Update inviteUserByEmail documentation in JS1 and JS2 (#18146)
* chore/add-invite-user-docs * Update spec/supabase_js_v1.yml Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com> * Update spec/supabase_js_v2.yml Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com> --------- Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
This commit is contained in:
1 parent
39123865d7
commit
072222523a
2 files changed
+2
No files matched your search
@@ -533,6 +533,7 @@ functions:
|
||||
notes: |
|
||||
- Requires a `service_role` key.
|
||||
- This function should only be called on a server. Never expose your `service_role` key in the browser.
|
||||
- The `inviteUserByEmail()` method is typically used by administrators to invite users to join the application.
|
||||
examples:
|
||||
- id: basic-example
|
||||
name: Basic example.
|
||||
|
||||
@@ -1016,6 +1016,7 @@ functions:
|
||||
$ref: '@supabase/gotrue-js.GoTrueAdminApi.inviteUserByEmail'
|
||||
notes: |
|
||||
- Sends an invite link to the user's email address.
|
||||
- The `inviteUserByEmail()` method is typically used by administrators to invite users to join the application.
|
||||
examples:
|
||||
- id: invite-a-user
|
||||
name: Invite a user
|
||||
|
||||
Reference in new issue
Block a user