---
title: "Migrate a Database Cluster to a New Region"
method: PUT
path: "/v2/databases/{database_cluster_uuid}/migrate"
tags: ["DigitalOcean-public.v2-new_Databases"]
---

# Migrate a Database Cluster to a New Region

`PUT /v2/databases/{database_cluster_uuid}/migrate`

To migrate a database cluster to a new region, send a `PUT` request to
`/v2/databases/$DATABASE_ID/migrate`. The body of the request must specify a
`region` attribute.

A successful request will receive a 202 Accepted status code with no body in
response. Querying the database cluster will show that its `status` attribute
will now be set to `migrating`. This will transition back to `online` when the
migration has completed.

## Path parameters

- `database_cluster_uuid` string, uuid, required

## Request body

- object
  - `region` string, required — A slug identifier for the region to which the database cluster will be migrated.

## Response `202`

This does not indicate the success or failure of any operation, just that the request has been accepted for processing.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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