Get All External Roles V2 Using GET

Get All External Roles V2 Using GET

This API is used to get all external roles.

Request
URI
GET
https://{api_host}//10.155.180.238/lcm/authzn/api/v2/roles/external
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of RoleDTO of type(s) application/json
[
    {
        "roleDescription": "VMware Aria Suite Lifecycle Administrator",
        "roleName": "admin",
        "vmid": "782c2945-3b69-4e29-8b32-b3d0d37ff562"
    }
]

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations