Magidoc

upsertUserByEmail
Mutation

Creates or updates user access to the current organisation using email as the lookup key. If the user does not exist, a new user is created. If the user exists but has no access to this organisation, access is granted. If the user already has access to this organisation, their role is updated.

Arguments

#

input

Non-null

Response

#

Returns UserUpsertPayload !.

Example

#