---
title: "GET /api/v2/allowedregistries/{allowed_registry}"
method: GET
path: "/api/v2/allowedregistries/{allowed_registry}"
tags: ["allowedregistries"]
---

# GET /api/v2/allowedregistries/{allowed_registry}

`GET /api/v2/allowedregistries/{allowed_registry}`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v2/allowedregistries/:allowed_registry/get.ts> (a function with typed inputs; its response is checked against the schema)

Get allowed registries specified by name

## Path parameters

- `allowed_registry` string, required

## Response `200`

AllowedRegistry

- AllowedRegistry: AllowedRegistry represents a object containing a allowed image registry prefix
  - `name` string
  - `spec` AllowedRegistrySpec
    - `registryPrefix` string: RegistryPrefix contains the prefix of the registry which will be allowed. User clusters will be able to deploy only images which are prefixed with one of the allowed image registry prefixes.

## Other responses

- `401`: EmptyResponse is a empty response
- `403`: EmptyResponse is a empty response
- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
