Get User Org Roles

Get User Org Roles

Use these APIs instead:

  • /oidc/userinfo
  • /cloudapi/1.0.0/roles

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/loggedin/user/orgs/{orgId}/roles
COPY
Path Parameters
string
orgId
Required

orgId


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "refLink": "string",
        "name": "string",
        "displayName": "string",
        "organizationLink": "string",
        "visible": false,
        "orgId": "string",
        "expiresAt": 0,
        "resource": "string",
        "id": "string"
    }
]

401

The user is not authorized to use the API.

[
    "RoleResponse Object"
]

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