---
title: "POST /v1beta/{tenantId}/block/replications/{replicationId}/failover"
method: POST
path: "/v1beta/{tenantId}/block/replications/{replicationId}/failover"
tags: ["Block Replications"]
---

# POST /v1beta/{tenantId}/block/replications/{replicationId}/failover

`POST /v1beta/{tenantId}/block/replications/{replicationId}/failover`

Failover Replication.

## Request body

- object — FailoverReplicationSpec represents failover replication relationship between the volumes on the primary and secondary sites.
  - `allowAttachedVolume` boolean
  - `secondaryBackendId` string

## Response `202`

Accepted

## Other responses

- `400` — BadRequest
- `401` — NotAuthorized
- `403` — Forbidden
- `404` — The resource does not exist
- `500` — An unexpected error occured.

---

[API](https://skmtc.net/sodafoundation/apis/soda-api.md) · [All operations](https://skmtc.net/sodafoundation/apis/soda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sodafoundation/soda-api/revisions/62ce0f6c94b4/schema)
