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

# POST /v1/{+name}:failover

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

Initiates a failover to target autonomous database from the associated primary database.

## Path parameters

- `name` string, required

## Request body

- FailoverAutonomousDatabaseRequest — The request for `OracleDatabase.FailoverAutonomousDatabase`.
  - `peerAutonomousDatabase` string — Optional. The peer database name to fail 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)
