---
title: "Update a schema"
method: PUT
path: "/schemas/{schemaName}"
tags: ["Schema"]
---

# Update a schema

`PUT /schemas/{schemaName}`

Updates a schema

## Path parameters

- `schemaName` string, required

## Query parameters

- `reload` boolean

## Response `200`

Successfully updated schema

## Other responses

- `400` — Missing or invalid request body
- `404` — Schema not found
- `500` — Internal error

---

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