sendInvitation
Allows sending invitation to a user. Required permission: userInvitation (for API user, can be checked using me query)
Example usage:
mutation sendInvitation {
sendInvitation(email:"email", role: basic) {
errors {
__typename
}
user {
id
inviteStatus
}
}
}
where
â« email is email address of invited user.
â« fullName is user full name (optional).
â« role is one of Qualio user roles: basic,normal,quality
Returns user data. It is the same record which can be pulled from users query.
Note: this action will trigger sending email to given email address. New user will appear with invite status (inviteStatus) as pending. You can trigger this action again if you want to resend invitation. It would fail once user has already accepted invitation.
Input fields
String!
)
Invited user email address
String
)
Invited user full name
UserRoleType!
)
Invited user role (one of: basic, normal, quality)
Boolean
)
Determines if email notifications will be sent on action
Return fields
[AnyMutationError]
)
Mutation errors. Provides information about missing content or privilages
User
)
Invited user