Unassign role to userΒΆ
A user can be unassigned roles. This can only be done by an admin user.
To remove a role from a user, make a request to /admin/user/remove-role
endpoint.
POST auth.<cluster-name>.hasura-app.io/admin/user/remove-role HTTP/1.1
Content-Type: application/json
{
"role" : "merchant",
"hasura_id": 42
}
Was this page helpful?