Get Users for Group Get Users for Group

 
MethodURIDescription
GET/v2.0/RAX-GRPADM/groups/{groupId}​{?marker,​limit,​marker,​limit}

Lists users for a group.

A list of users that belong to a specified group.

A list of users that belong to a specified group.

Normal response codes: 200, 203200, 203

Error response codes: identityFault (400, 500, ), identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503)

 Request

This table shows the header parameters for the get users for group get users for group request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token for an administrative user.

This table shows the URI parameters for the get users for group get users for group request:

NameTypeDescription

{groupId}

​String

The group ID.

This table shows the query parameters for the get users for group get users for group request:

NameTypeDescription

marker

​String

(Optional)

limit

​Int

(Optional)

marker

​String

(Optional)

limit

​Int

(Optional)

 Response

This table shows the body parameters for the get users for group get users for group response:

NameTypeDescription

next

​Any​U​RI

(Optional)

previous

​Any​U​RI

(Optional)

 

Example 6.11. Get Users for Group Get Users for Group: XML response

<?xml version="1.0" encoding="UTF-8"?>
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
    <user xmlns="http://docs.openstack.org/identity/api/v2.0"
          enabled="true" email="[email protected]"
          username="jqsmith" id="u1000"/>
    <user xmlns="http://docs.openstack.org/identity/api/v2.0"
          enabled="true" email="[email protected]"
          username="jqsmith" id="u1001"/>
</users>

 

Example 6.12. Get Users for Group Get Users for Group: JSON response

{
  "users": [
    {
      "id": "u1000",
      "username": "jqsmith",
      "email": "[email protected]",
      "enabled": true
    },
    {
      "id": "u1001",
      "username": "jqsmith",
      "email": "[email protected]",
      "enabled": true
    }
  ],
  "users_links": []
}

This table shows the body parameters for the get users for group get users for group response:

NameTypeDescription

next

​Any​U​RI

(Optional)

previous

​Any​U​RI

(Optional)

 

Example 6.13. Get Users for Group Get Users for Group: XML response

<?xml version="1.0" encoding="UTF-8"?>
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
    <user xmlns="http://docs.openstack.org/identity/api/v2.0"
          enabled="true" email="[email protected]"
          username="jqsmith" id="u1000"/>
    <user xmlns="http://docs.openstack.org/identity/api/v2.0"
          enabled="true" email="[email protected]"
          username="jqsmith" id="u1001"/>
</users>

 

Example 6.14. Get Users for Group Get Users for Group: JSON response

{
  "users": [
    {
      "id": "u1000",
      "username": "jqsmith",
      "email": "[email protected]",
      "enabled": true
    },
    {
      "id": "u1001",
      "username": "jqsmith",
      "email": "[email protected]",
      "enabled": true
    }
  ],
  "users_links": []
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...