Deleting user rolesΒΆ

Deleting roles can be done by users having the admin role.

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

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

{
  "role" : "merchant"
}

Note

You cannot delete the default roles, ie: anonymous, user and admin, from the system.