Open chung1912 opened 3 months ago
I know the way to update user's custom attributes is as follows:
response = keycloak_admin.update_user(user_id="user-id-keycloak", payload={ 'attributes':{'birthdate':'14-03-2000'}})
How to delete user's custom attributes?
Just omit them from the payload. The update_user
method overwrites all previous attributes, so only the ones you are setting explicitly will be saved.
I know the way to update user's custom attributes is as follows:
response = keycloak_admin.update_user(user_id="user-id-keycloak", payload={ 'attributes':{'birthdate':'14-03-2000'}})
How to delete user's custom attributes?