[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Get Service Roles
DescriptionLists all service roles of the logged user account within a specified organization.
Request
URLURL
https://console.navigator.vmware.com/cphub/api/auth/v1/loggedinuser/orgs/{orgId}/service-roles
Path Parameters
Path Parameters
string
orgId
Required
Unique identifier (GUID) of the organization.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
ServiceRoles
of type application/json
[
{
"resourceTypes": [
"...",
"..."
],
"resources": [
{
"id": "...",
"name": "..."
},
{
"id": "...",
"name": "..."
}
],
"roles": [
{
"associatedResources": [
"...",
"..."
],
"defaultRole": true,
"displayName": "...",
"enabled": true,
"hidden": true,
"memberType": "GROUP",
"mspDefaultRole": true,
"mspDefaultRoleOfProviderAtTenant": true,
"name": "...",
"resource": "...",
"roleId": "...",
"status": "..."
},
{
"associatedResources": [
"...",
"..."
],
"defaultRole": true,
"displayName": "...",
"enabled": true,
"hidden": true,
"memberType": "DIRECT",
"mspDefaultRole": true,
"mspDefaultRoleOfProviderAtTenant": true,
"name": "...",
"resource": "...",
"roleId": "...",
"status": "..."
}
],
"serviceDisplayName": "...",
"serviceId": "..."
}
]
array of
string
resourceTypes
Optional
The list of resource types.
string
serviceDisplayName
Optional
The display name of the service.
string
serviceId
Optional
The service definition id (without “external” prefix.)
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://console.navigator.vmware.com/cphub/api/auth/v1/loggedinuser/orgs/{orgId}/service-roles
[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator