---
title: "Handles the failover process for a given cluster."
method: POST
path: "/api/clusters/{clusterName}/actions/failover"
tags: ["ClusterActions"]
---

# Handles the failover process for a given cluster.

`POST /api/clusters/{clusterName}/actions/failover`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `Authorization`

This endpoint triggers a master failover for the specified cluster.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successfully triggered failover

- string

## Other responses

- `403`: No valid ACL
- `409`: Master is still up; use switchover for a planned role change
- `500`: No cluster

## Changes

- **2026-10-05** `1bf429f49b60`: 1 info
  - added the non-success response with the status `409`
- **2026-07-17** `7465ea0ee21a`: 1 info
  - endpoint added
- **2023-03-31** `b57fc7b9446e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/changes/api/clusters/:clusterName/actions/failover/post.md)

---

[API](https://skmtc.dev/signal18/apis/signal-18-dashboard-api.md) - [All operations](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/revisions/8ee8a1e31294?raw)
