---
title: "POST /v1/{+name}:demoteDestination"
method: POST
path: "/v1/{+name}:demoteDestination"
tags: ["projects"]
---

# POST /v1/{+name}:demoteDestination

`POST /v1/{+name}:demoteDestination`

Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL for MySQL 2. PostgreSQL to Cloud SQL for PostgreSQL 3. PostgreSQL to AlloyDB for PostgreSQL.

## Path parameters

- `name` string, required

## Request body

- DemoteDestinationRequest — Request message for 'DemoteDestination' request.

## Response `200`

Successful response

---

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