---
title: "Transfer a repository to a different region."
method: POST
path: "/repos/{owner}/{repo}/transfer-region/"
tags: ["repos"]
---

# Transfer a repository to a different region.

`POST /repos/{owner}/{repo}/transfer-region/`

Transfer a repository to a different region.

## Request body

- RepositoryTransferRegionRequest
  - `storage_region` string — The Cloudsmith region in which package files are stored.

## Response `200`

Repository region transfer initiated.

## Other responses

- `400` — Request could not be processed (see detail).
- `402` — Custom storage regions not available on plan; upgrade your account!
- `404` — Owner, namespace or repository not found.
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/d84142c9e5ad/schema)
