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:
Monica KhouryandKevin Grüneberg authored and GitHub committed 2023-10-12 09:59:06 -07:00
1 parent 39123865d7
commit 072222523a
2 files changed
+2

No files matched your search

+1
View File
@@ -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.
+1
View File
@@ -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