Get Paginated Org Users Info 1

Get Paginated Org Users Info 1

Use these APIs instead:

  • /cloudapi/1.0.0/users
  • /cloudapi/1.0.0/users/{{userUrn}}/preferences
  • /scim/v2/Groups

Get response encapsulating organization users.

Fetched page is according to the page start and page limit passed as optional parameters. Defaults to page size of 20 and start from the first page. Note that pageStart is 1-based index.

We are currently not supporting the optional serviceDefinitionId which is to filter users having access to a service in CSP.

Access Policy

Role Access
Platform operator ✔️
Organization Owner ✔️
Organization Member ✔️
Service Account (Whitelisted Client)
Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/orgs/{orgId}/users
COPY
Path Parameters
string
orgId
Required

Unique identifier (GUID) of the organization.

Query Parameters
string
serviceDefinitionId
Optional

Service definition id used to filter users having access to the service.

integer
pageStart
Optional
Constraints: minimum: 1 default: 1

Specifies the index that the set of results will begin with.

integer
pageLimit
Optional
Constraints: minimum: 1 maximum: 128 default: 128

Specifies the maximum results per page for every call.

string
expandProfile
Optional

Indicates if the response should be expanded with the user profile, the value is ignored, only the existence of parameter is checked.

string
includeGroupIdsInRoles
Optional

Indicates if the inherited roles in the response should indicate group information, the value is ignored, only the existence of parameter is checked.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PagedResponseExpandedTypedUser of type(s) */*
{
    "results": [
        {
            "user": {
                "username": "string",
                "firstName": "string",
                "lastName": "string",
                "domain": "string",
                "idpId": "string",
                "accessible": false,
                "acct": "string",
                "email": "string",
                "userId": "string",
                "userProfile": {
                    "locale": "string",
                    "language": "string"
                }
            },
            "orgId": "string",
            "organizationRoles": [
                {
                    "id": "string",
                    "name": "string",
                    "membershipType": "string",
                    "expiresAt": "string",
                    "displayName": "string",
                    "orgId": "string",
                    "groups": [
                        {
                            "id": "string",
                            "displayName": "string",
                            "domain": "string",
                            "usersCount": 0,
                            "groupType": "string"
                        }
                    ],
                    "groupIds": [
                        "string"
                    ]
                }
            ],
            "serviceRoles": [
                {
                    "serviceRoles": [
                        {
                            "id": "string",
                            "name": "string",
                            "membershipType": "string",
                            "expiresAt": "string",
                            "resource": "string",
                            "groups": [
                                {
                                    "id": "string",
                                    "displayName": "string",
                                    "domain": "string",
                                    "usersCount": 0,
                                    "groupType": "string"
                                }
                            ],
                            "groupIds": [
                                "string"
                            ]
                        }
                    ],
                    "serviceDefinitionId": "string"
                }
            ]
        }
    ],
    "nextLink": "string",
    "prevLink": "string",
    "totalResults": 0
}
array of object
results
Optional

The list of results.

string
nextLink
Optional

URL to the next page of results.

string
prevLink
Optional

URL to the previous page of result.

integer As int64 As int64
totalResults
Optional

The total number of results on all pages.


401

The user is not authorized to use the API.

Returns PagedResponseExpandedTypedUser of type(s) */*
"PagedResponseExpandedTypedUser Object"
array of object
results
Optional

The list of results.

string
nextLink
Optional

URL to the next page of results.

string
prevLink
Optional

URL to the previous page of result.

integer As int64 As int64
totalResults
Optional

The total number of results on all pages.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/users