Can we create a admin user in keycloak using below rest-api ?
https://$HOSTNAME/auth/admin/realms/{REALM}/users
I am using the below payload , but it's now working.
{ "attributes" : {}, "emailVerified": "", "enabled": true, "username": "admin", "clientRoles": {"realm-management": [ "realm-admin" ] } }
Thanks in advance