Skip to main content
GET
/
api
/
data_shares
/
realm-roles
List assignable realm roles
curl --request GET \
  --url https://api.example.com/api/data_shares/realm-roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

List of realm roles.

roles
RealmRoleInfo · object[]
required
total
integer
required