---
title: "POST /schemas/{namespace}/{slug}/version/{semver}"
method: POST
path: "/schemas/{namespace}/{slug}/version/{semver}"
tags: ["schemas"]
---

# POST /schemas/{namespace}/{slug}/version/{semver}

`POST /schemas/{namespace}/{slug}/version/{semver}`

Update managed schema content in GCS

## Path parameters

- `namespace` string, required
- `slug` string, required
- `semver` string, required

## Request body

- object
  - `content` string, required

## Response `200`

Default Response

- object
  - `jsonSha` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-29** `3095882242e8` — 1 breaking, 1 info
  - the response's body type changed from `null` to `object` for status `200`
  - added the required property `jsonSha` to the response with the `200` status
- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `postschemasNamespaceSlugVersionSemver` removed and replaced with `postSchemasNamespaceSlugVersionSemver`

[Change history](https://skmtc.dev/scalar/apis/core/changes/schemas/:namespace/:slug/version/:semver/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/7536f3eb84cd/schema)
