---
title: "Switch global settings for the server"
method: POST
path: "/api/clusters/settings/actions/switch/{settingName}/{state}"
tags: ["GlobalSetting"]
---

# Switch global settings for the server

`POST /api/clusters/settings/actions/switch/{settingName}/{state}`

This endpoint switches the global settings for the server.

## Path parameters

- `settingName` string, required
- `state` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successfully switched setting

- string

## Other responses

- `403` — No valid ACL
- `500` — No cluster

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
