GuidesAPI Reference
API Reference

Get Roles

Retrieve the list of roles within the context of the provided realm.


Access Control:

  • The calling principal must have "readRoles" action permission for the callers "{realm}" in the "authorization" service.
  • The calling principal MUST NOT include a project scope.
Query Params
string

The cursor for pagination. Present only if there is an additional page of data to view.

integer
0 to 100
Defaults to 100

Number of records to return. Default is 100 records. Maximum is 100 records.

string

The name of the role to be returned in the result set.

string

The hrn of the resource which the roles returned in the result set should be associated with.

Responses

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json