---
title: "Preserve or unpreserve a variable"
method: GET
path: "/api/clusters/{clusterName}/settings/actions/preserve-variable/{variableName}/{preserve}"
tags: ["Database"]
---

# Preserve or unpreserve a variable

`GET /api/clusters/{clusterName}/settings/actions/preserve-variable/{variableName}/{preserve}`

Preserves or unpreserves a variable for the specified cluster.

## Path parameters

- `clusterName` string, required
- `variableName` string, required
- `preserve` 'true' | 'false', required

## Response `200`

Variable preserved successfully

- string

## Other responses

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

## Changes

- **2026-07-17** `7465ea0ee21a` — 1 info
  - endpoint added
- **2023-03-31** `b57fc7b9446e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/signal18/apis/untitled-api/changes/api/clusters/:clusterName/settings/actions/preserve-variable/:variableName/:preserve/get.md)

---

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