---
title: "POST /v1/sdks/repository/update"
method: POST
path: "/v1/sdks/repository/update"
tags: ["sdks"]
---

# POST /v1/sdks/repository/update

`POST /v1/sdks/repository/update`

Updates an SDK target repository metadata

## Request body

- object
  - `uid` string, required
  - `language` 'typescript' | 'python' | 'cli' | 'csharp' | 'java' | 'ruby' | 'php' | 'go' | 'rust' | 'kotlin' | 'swift' | 'cpp' | 'dart', required
  - `baseBranch` string
  - `prereleaseType` string, nullable

## Response `200`

Default Response

- unknown

## Other responses

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

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `postv1SdksRepositoryUpdate` removed and replaced with `postV1SdksRepositoryUpdate`
- **2026-07-26** `8586b0646aa3` — 2 info
  - added the new optional request property `prereleaseType`
  - the request property `baseBranch` became optional

[Change history](https://skmtc.dev/scalar/apis/core/changes/v1/sdks/repository/update/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/2c53f2191a3e/schema)
