Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxx"|python -mjson.tool I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxx"|python -mjson.tool
xxxxxxxxxxxx".

I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxx".

xxxxxxxxxxxx".

I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxx".

xxxxxxxxxxxx".

I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxx".

I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl `curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool
I 

`I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

`curl 

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool

-mjson.tool

`I am running the above curl command but i am getting all the available roles instead of just getting admin role.

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool

`I am running the above curl command but i am getting all the available roles instead of just getting admin role.role. Is there any way to retrieve id of a particular role?

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool

`I am running the above curl command but i am getting all the available roles instead of just getting admin role. Is there any way to retrieve id of a particular role?

Getting role by name

curl -s http://localhost:35357/v2.0/OS-KSADM/roles?name=admin -X GET -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxx"|python -mjson.tool

`I am running the above curl command but i am getting all the available roles instead of just getting admin role. Is there any way to retrieve id of a particular role?