---
title: "POST /v1/{+parent}/schemaRegistries"
method: POST
path: "/v1/{+parent}/schemaRegistries"
tags: ["projects"]
---

# POST /v1/{+parent}/schemaRegistries

`POST /v1/{+parent}/schemaRegistries`

Create a schema registry instance.

## Path parameters

- `parent` string, required

## Request body

- CreateSchemaRegistryRequest — Request to create a schema registry instance.
  - `schemaRegistryId` string — Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.
  - `schemaRegistry` SchemaRegistry — SchemaRegistry is a schema registry instance.
    - `name` string — Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores.
    - `contexts` string[] — Output only. The contexts of the schema registry instance.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/managedkafka.md) · [All operations](https://skmtc.net/google/apis/managedkafka/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/managedkafka/versions/ebfb70483869/schema)
