Hasura Auth API + Postman collection
You can refer to data modelling blog:
Hasura Auth API : It is used for creating a user, assign roles to them(user,admin,anonymous)and managing their info. It also helps for authentication purposes. This api helps in login and logout fuctionality.
- Copy the internal endpoint and use it in the postman
- Then in the body give username and password in JSON format . you will receive response of a json object containing hasura_id, role and auth_token and use api http://auth.vcap.me/login.
- For logout , use api http://auth.vcap.me/user/logout.
Refer to the auth documentation for information