v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
Admin

List all role mappings

Gets a list of all role mappings configured in the registry (if any).

This operation can fail for the following reasons:

  • A server error occurred (HTTP error 500)
get/admin/roleMappings

Query parameters

limitinteger

The number of role mappings to return. Defaults to 20.

offsetinteger

The number of role mappings to skip before starting the result set. Defaults to 0.

Response

A successful response will return the list of role mappings.

countinteger required

The total number of role mappings that matched the query that produced the result set (may be more than the number of role mappings in the result set).

Example response

{
  "roleMappings": [
    {
      "principalId": "svc_account_84874587_123484",
      "principalName": "famartin-svc-account",
      "role": "READ_ONLY"
    }
  ]
}