[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Get Org Roles
DescriptionLists the assigned organization roles of a user in an organization.
Request
URLURL
https://console.navigator.vmware.com/cphub/api/auth/v1/users/{userId}/orgs/{orgId}/org-roles
Path Parameters
Path Parameters
string
orgId
Required
Unique identifier (GUID) of the organization.
string
userId
Required
The userId or user account identifier.
Query Parameters
Query Parameters
string
context
Optional
context can be OPERATOR, PROVIDER or TENANT.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
OrgRoles
of type application/json
{
"orgRoles": [
{
"displayName": "...",
"id": "...",
"memberType": "DIRECT",
"name": "...",
"orgId": "..."
},
{
"displayName": "...",
"id": "...",
"memberType": "DIRECT",
"name": "...",
"orgId": "..."
}
]
}
Errors
401
Unauthorized - The user is not authorized to use the API
500
Internal Server Error - An unexpected error has occurred while processing the request
Code Samples
cURL Command
curl https://console.navigator.vmware.com/cphub/api/auth/v1/users/{userId}/orgs/{orgId}/org-roles
[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
On This Page
User Operations
get
get
get
patch
patch