- API >
- Public API Resources >
- Organizations and Teams >
- Organizations >
- Get All Organization Users
Get All Organization Users¶
On this page
Base URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0
Syntax¶
Request Path Parameters¶
Parameter | Required/Optional | Description |
---|---|---|
ORG-ID |
Required. | The unique identifier for the organization whose user information you want to retrieve. |
Request Query Parameters¶
Field | Required/Optional | Description |
---|---|---|
pageNum |
Optional. | The page to return. Defaults to |
itemsPerPage |
Optional. | Number of items to return per page, up to a maximum of 500. Defaults to |
envelope |
Optional. | A boolean that specifies whether or not to wrap the response in an envelope. Defaults to |
pretty |
Optional | A boolean that specifies whether or not to return a “pretty-printed” JSON document. Defaults to |
Response Elements¶
If you set the query element envelope
to true
, the response is wrapped
by the content
object.
The HTTP response returns a JSON document that includes the following objects:
results
¶
An array of documents, each representing one Organization user.
Name | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
country |
The country where the user lives. | ||||||||||
emailAddress |
The user’s email address. | ||||||||||
firstName |
The user’s first name. | ||||||||||
lastName |
ID of the Ops Manager project the user belongs to. | ||||||||||
id |
The user’s id. | ||||||||||
links |
One or more links to sub-resources and/or related resources. | ||||||||||
mobileNumber |
The user’s mobile phone number. | ||||||||||
username |
The username for authenticating to MongoDB. | ||||||||||
roles |
An array of the user’s roles within the Organization and for each Project to which the user belongs. | ||||||||||
roles.{ENTITY-ID} |
The {ENTITY-ID} represents the Organization or Project to
which this role applies. Possible values are: orgId or
groupId . |
||||||||||
roles.roleName |
The name of the role. The
|
||||||||||
teamIds |
An array of the team ids for the organization. |
links
¶
An array of documents, representing a link to one or more sub-resources and/or related resources such as list pagination. See Linking for more information.
totalCount
¶
The total number of items in the result set. This value may be higher
than the number of objects in the results
array if the entire
result set is paginated.