Get a page of all the Roles visible. All System and Product roles are visibile, but visibility of Custom Roles depend on the claims in the token. For an Access Policy token, all Custom Roles usable by the project are visible (if given, otherwise the project that owns the Access Policy). For a Role Assignment token, all Custom Roles usable by the token's Organization are visible and the project args are unsupported.
The auth token's access policy must allow action:use/listRoles.
Security
bearerAuth
- https://access.eqix.equinix.comhttps://access.eqix.equinix.com/v1/roles
// No request payloadResponse
{ "list": [ { … } ], "nextPageToken": "eyJsYXN0S2V5IjoiYWJjMTIzIn0=" }