---
title: "Check if a server is a master"
method: GET
path: "/api/clusters/{clusterName}/servers/{serverName}/is-master"
tags: ["Database"]
---

# Check if a server is a master

`GET /api/clusters/{clusterName}/servers/{serverName}/is-master`

## Request

- The document declares no server URL.
- Auth: none declared

Checks if a specified server within a cluster is a master.

## Path parameters

- `clusterName` string, required
- `serverName` string, required

## Response `200`

200 -Valid Master!

## Other responses

- `500`: No cluster
- `503`: 503 -Not a Valid Master!

## Changes

- **2026-07-17** `7465ea0ee21a`: 3 warning, 2 info
  - the optional response header `Access-Control-Allow-Origin` removed for the status `200`
  - the optional response header `Access-Control-Allow-Origin` removed for the status `500`
  - the optional response header `Access-Control-Allow-Origin` removed for the status `503`
  - api operation id `serverName-is-master` removed and replaced with ``
  - …1 more
- **2023-03-31** `b57fc7b9446e`: 2 info
  - api operation id `serverName-is-master` was added
  - api tag `Database` removed

[Operation history](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/changes/api/clusters/:clusterName/servers/:serverName/is-master/get.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)
