Admin

List all role mappings

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Response

A successful response will return the list of role mappings.

principalIdstring required
role'READ_ONLY' | 'DEVELOPER' | 'ADMIN' required
principalNamestring

A friendly name for the principal.

Example response

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

Changes