Keycloak –4 REST API

To be able to create a new user account using REST API we will need to first acquire an access token from Keycloak server. To acquire an access token, we can use the admin user name and password of the master realm.
[crayon-6606d91521308805221449/]
Response
[crayon-6606d91521311127676076/]
You can use this access token in the following request to create a new user account for any other existing Realm.

 

 

 

 

 

Ref:

www.appsdeveloperblog.com/keycloak-rest-api-create-a-new-user/