---
title: "Create Switch Feature"
method: POST
path: "/api/v1/switch_feature/"
tags: ["Switch Feature"]
---

# Create Switch Feature

`POST /api/v1/switch_feature/`

## Request body

- CreateSwitchFeatureRequest
  - `feature_name` string, required — Feature name is required
  - `enabled` boolean — enabled is optional

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/leo1/apis/leofees-backend.md) · [All operations](https://skmtc.net/leo1/apis/leofees-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/leo1/leofees-backend/revisions/cace8144ecd9/schema)
