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
) {
# Sélectionner les champs souhaités
}
}