List Roles Using GET 1

List Roles Using GET 1

Get a list of roles. Supported selectors: name.

Request
URI
GET
https://{api_host}//vcp.vmware.com/api/aggregator/v1/roles
COPY
Query Parameters
string
filter
Optional

FIQL format

integer
limit
Optional

limit

integer
offset
Optional

offset

string
sort
Optional

sort


Responses
200

OK

Returns PageOfRole of type(s) application/json
{
    "content": [
        {
            "id": "81d7de9d-xxxx-xxxx-xxxx-64eea06d3ef1",
            "name": "Administrator"
        }
    ],
    "total": 1
}
array of Role
content
Optional

content

integer As int64 As int64
total
Optional

total


400

Bad Request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure