---
title: "POST /v1/namespaces/{namespace}/schema"
method: POST
path: "/v1/namespaces/{namespace}/schema"
---

# POST /v1/namespaces/{namespace}/schema

`POST /v1/namespaces/{namespace}/schema`

Update namespace schema.

## Path parameters

- `namespace` string, required

## Request body

- object — The desired schema for the namespace.

## Response `200`

The schema of the namespace.

- object — The updated schema for the namespace.

## Other responses

- `default` — An error response.

---

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