Skip to content

Instantly share code, notes, and snippets.

@dan1
Created April 18, 2015 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan1/a188e3541687639fb5e7 to your computer and use it in GitHub Desktop.
Save dan1/a188e3541687639fb5e7 to your computer and use it in GitHub Desktop.
user_list with domain_id
ubuntu@ubuntu:~$ curl -s -H "X-Auth-Token: de960a1006864f53b9fcdbe01613e209" http://192.168.85.125:5000/v3/users?domain_id=fa163563484c40fcafaf365e7ef45a22 | python -mjson.tool
{
"links": {
"next": null,
"previous": null,
"self": "http://192.168.85.125:5000/v3/users?domain_id=fa163563484c40fcafaf365e7ef45a22"
},
"users": [
{
"default_project_id": "b6dd069070b84230a399c73a195f6109",
"domain_id": "fa163563484c40fcafaf365e7ef45a22",
"email": "edward@mail.com",
"enabled": true,
"id": "ef532725970a40a6b490f3f09b49d2d5",
"links": {
"self": "http://192.168.85.125:5000/v3/users/ef532725970a40a6b490f3f09b49d2d5"
},
"name": "edward"
},
{
"default_project_id": "b6dd069070b84230a399c73a195f6109",
"domain_id": "fa163563484c40fcafaf365e7ef45a22",
"email": "kenny@kmart.com",
"enabled": true,
"id": "da6148ac12ef4ccb9e5f31792195e921",
"links": {
"self": "http://192.168.85.125:5000/v3/users/da6148ac12ef4ccb9e5f31792195e921"
},
"name": "kenny"
},
{
"default_project_id": "b6dd069070b84230a399c73a195f6109",
"domain_id": "fa163563484c40fcafaf365e7ef45a22",
"email": "peg@mail.com",
"enabled": true,
"id": "ec556172a4824159b12e736c6f2bd615",
"links": {
"self": "http://192.168.85.125:5000/v3/users/ec556172a4824159b12e736c6f2bd615"
},
"name": "peggy"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment