Login API

Learn about how to define the mutation for your API.

We'll cover the following

Mutation for API

With the underlying database work all set, the next task is to define the mutation for our API. We head over to our Absinthe schema and add a :login mutation field to the root mutation type:

Get hands-on with 1200+ tech skills courses.