We have an example for Java admin client [1] and another one showing how to call admin rest endpoints directly [2]

[1] https://github.com/keycloak/keycloak/tree/master/examples/admin-client
[2] https://github.com/keycloak/keycloak/tree/master/examples/demo-template/admin-access-app

Marek
 
On 02/08/16 15:09, Deepak Garg wrote:
Hi,

I need your help to test the following admin rest api.

I was able to get the access_token using http://localhost:9090/auth/realms/master/protocol/openid-connect/token rest api.

As a next step, I like to get the list of all realms for which I am trying to use the below api

http://localhost:9090/auth/admin/realms

I have got the access token but don't know how to test this using postman.


Please help me on this.


Thanks



_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user