---
title: "Enable or disable a feature flag (admin)"
method: PUT
path: "/admin/feature-flags/{key}"
tags: ["admin"]
---

# Enable or disable a feature flag (admin)

`PUT /admin/feature-flags/{key}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/admin/feature-flags/{key}`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `key` string, required

## Request body

- object
  - `isEnabled` boolean, required

## Response `200`

Feature flag updated

## Other responses

- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/admin/feature-flags/:key/put.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
