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

# POST /v1/{+name}:switchover

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

Initiates a switchover of specified autonomous database to the associated peer database.

## Path parameters

- `name` string, required

## Request body

- SwitchoverAutonomousDatabaseRequest — The request for `OracleDatabase.SwitchoverAutonomousDatabase`.
  - `peerAutonomousDatabase` string — Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard.

## Response `200`

Successful response

---

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