Directus / @directus/sdk / rest / inviteShare
Function: inviteShare() ​
inviteShare<
Schema
>(share
,emails
):RestCommand
<void
,Schema
>
Defined in: rest/commands/utils/shares.ts:33
Sends an email to the provided email addresses with a link to the share.
Type Parameters ​
• Schema
Parameters ​
share ​
string
Primary key of the share you're inviting people to.
emails ​
string
[]
Array of email strings to send the share link to.
Returns ​
RestCommand
<void
, Schema
>
Nothing