python-keycloak icon indicating copy to clipboard operation
python-keycloak copied to clipboard

Create remove_realm_roles function

Open iperrota opened this issue 4 years ago • 4 comments

Create remove_realm_roles function in order to allow remove a specific role of an user. This function will be use the same url of assign_realm_roles.

iperrota avatar Jan 20 '21 23:01 iperrota

How about using the already existing keycloak_admin.delete_realm_roles()?

double-a avatar May 13 '21 15:05 double-a

@double-a keycloak_admin.delete_realm_roles() deletes a role completely: What @iperrota and me are looking for is a function to unassign a real role from a single user (not deleting the entire role).

Tonne-TM avatar Jun 17 '21 06:06 Tonne-TM

How about delete_realm_roles() It is a DELETE on URL_ADMIN_USER_REALM_ROLES

double-a avatar Jul 17 '21 16:07 double-a

There is a pull request #201 for this

marlenekoh avatar Aug 03 '21 00:08 marlenekoh