Get User Orgs

Get User Orgs

Use this API instead:

  • /oidc/userinfo

Currently one user can belong to exactly one organization. Result contains detailed information for the organization.

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/v2/loggedin/user/orgs
COPY
Query Parameters
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.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

{
    "results": [
        {
            "name": "string",
            "displayName": "string",
            "metadata": {
                "metadata": "string"
            },
            "id": "string",
            "refLink": "string",
            "parentRefLink": "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.

"PagedResponseOrganizationResponse 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.


403

The user is not part of any organization.

"PagedResponseOrganizationResponse 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/v2/loggedin/user/orgs