Skip to main content

CreateUserInput

The data required to create a user

input CreateUserInput {
firstName: String!
lastName: String!
email: String!
distributorId: String
integratorId: String
siteId: String
role: UserRole
}

Fields

CreateUserInput.firstName ● String! non-null scalar

The first name of the user

CreateUserInput.lastName ● String! non-null scalar

The last name of the user

CreateUserInput.email ● String! non-null scalar

The email address of the user

CreateUserInput.distributorId ● String scalar

The ID of the distributor that will be related to the user if existing

CreateUserInput.integratorId ● String scalar

The ID of the integrator that will be related to the user if existing

CreateUserInput.siteId ● String scalar

The ID of the site that will be related to the user if existing

CreateUserInput.role ● UserRole enum

The role of the user

Member Of

addUser mutation