---
title: "Update feature flags for a Bilanzkreis"
method: PATCH
path: "/api/bilanzkreis/:id/feature-flags"
tags: ["Settlement (Abrechnung)"]
---

# Update feature flags for a Bilanzkreis

`PATCH /api/bilanzkreis/:id/feature-flags`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/bilanzkreis/:id/feature-flags`
- Auth: none declared

Updates per-Bilanzkreis feature flags. Set `virtual_energy_sharing.enabled: false` to block A96 export (rollback gate). Sub-Track G (v0.47.0) — Rollback-Plan.

## Path parameters

- `id` string, required

## Query parameters

- `token` string

## Request body

- object
  - `flags` object, required
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Feature flags updated

## Other responses

- `404`: Bilanzkreis not found

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
