Creating user rolesΒΆ

Creating roles can be done by users having admin roles. It can be done in the following ways:

Go to the auth tab on top and click on Roles on the left panel.

../../../../_images/console-create-role.png
POST auth.<cluster-name>.hasura-app.io/admin/create-role HTTP/1.1
Content-Type: application/json

{
  "role" : "merchant"
}