Get All External Roles V2 Using GET
This API is used to get all external roles.
Request
URI
GET
https://{api_host}/lcm/authzn/api/v2/roles/external
COPY
Responses
200
OK
Returns
Array of
RoleDTO
of type(s)
application/json
[
{
"roleDescription": "vRealize Lifecycle Manager 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
"GenericErrorResponseDTO Object"
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of
string
recommendations
Optional
recommendations
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/lcm/authzn/api/v2/roles/external
Authentication Role Controller Operations
GET
Get All External Roles V2 Using GET