Browse Source
Merge pull request #241 from arska/master
add_group needs a dict of GroupRepresentation
pull/245/head^2
Marcos Pereira
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
README.md
|
|
@ -243,7 +243,7 @@ keycloak_admin.delete_client_roles_of_user(client_id="client_id", user_id="user_ |
|
|
|
keycloak_admin.delete_client_roles_of_user(client_id="client_id", user_id="user_id", roles=[{"id": "role-id_1"}, {"id": "role-id_2"}]) |
|
|
|
|
|
|
|
# Create new group |
|
|
|
group = keycloak_admin.create_group(name="Example Group") |
|
|
|
group = keycloak_admin.create_group({"name": "Example Group"}) |
|
|
|
|
|
|
|
# Get all groups |
|
|
|
groups = keycloak_admin.get_groups() |
|
|
|