---
title: "List all role mappings"
method: GET
path: "/admin/roleMappings"
tags: ["Admin"]
---

# List all role mappings

`GET /admin/roleMappings`

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`)

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

A successful response will return the list of role mappings.

- RoleMappingSearchResults — Describes the response received when searching for artifacts.
  - `roleMappings` RoleMapping[], required — The role mappings returned in the result set.
    - `principalId` string, required
    - `role` 'READ_ONLY' | 'DEVELOPER' | 'ADMIN', required
    - `principalName` string — A friendly name for the principal.
  - `count` integer, 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).

## Other responses

- `401` — Common response for all operations that can return a `401` error indicating authentication is required.
- `403` — Common response for all operations that can return a `403` error indicating the user is authenticated but not authorized.
- `500` — Common response for all operations that can fail with an unexpected server error.

---

[API](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3.md) · [All operations](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apicurio/apicurio-registry-api-v3/revisions/c39cb56d7dbc/schema)
