CreateAdmin
Signature
mutation {
CreateAdmin(firstName: ..., lastName: ..., email: ..., mobile: ..., persona: ..., withEmail: ...)
}
Retourne : User!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
firstName | String! | ✓ | — | — |
lastName | String! | ✓ | — | — |
email | String! | ✓ | — | — |
mobile | String! | ✓ | — | — |
persona | Persona! | ✓ | — | — |
userGroupId | ID | — | — | |
withEmail | Boolean! | ✓ | — | — |
Exemple
mutation {
CreateAdmin(
firstName: $firstName
lastName: $lastName
email: $email
mobile: $mobile
persona: $persona
withEmail: $withEmail
) {
id
active
email
lastLogin
mobile
firstName
lastName
persona {}
personaDetailed {}
userGroup {}
accounts {}
roles
emailsInCopy
isPasswordDefined
portfolio {}
unactiveComment
acceptedAt
createdAt
userSegments {}
segments {}
distributedByAdvisor {}
distributedBy {}
representedDistributorNetwork {}
tosAcknowledgedAt
locale {}
localeDetailed {}
lastLoginMethod {}
signupUrlParameters {}
userAccountPermissions {}
userAccountNotifications {}
}
}