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

# POST /v1/{+name}:promoteReplica

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

Promote the standby instance (replica).

## Path parameters

- `name` string, required

## Request body

- PromoteReplicaRequest — PromoteReplicaRequest promotes a Filestore standby instance (replica).
  - `peerInstance` string — Optional. The resource name of the peer instance to promote, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. The peer instance is required if the operation is called on an active instance.

## Response `200`

Successful response

---

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