Delete user roleΒΆ
Deleting roles can be done by users having the admin
role.
To delete a role, make a request to the /admin/delete-role
endpoint.
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.
Was this page helpful?