Magidoc

updateUser
Mutation

Update a user by their ID

Arguments

#

id

ID !
Non-null

The unique identifier of the user

type

The type of the user out of (STUDENT, SCHOOL, COMPANY)

name

The name must not contain spaces

email

The email of the user

password

The password must be at least 8 characters long

Response

#

Returns User !.

Example

#

    
  

3

    
  

3

    
  

3