This mutation sends a user invitation to an email.
Sample Mutation
mutation{
sendUserInvitation(orgId:"a1dc174d-abf4-47d3-be3c-9281c6eba456"
email:"[email protected]")
}
Sample Response
{
"data": {
"sendUserInvitation": true
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID | The organization ID. | Yes |
email | String | The user's email address. | Yes |
Returns
Name | Type | Description |
---|---|---|
sendUserInvitation | Boolean | The sending value. If the email is sent, it will be 'true'. |
Example
Send an invitation email by organization ID and email address: