v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Features

Modify a feature flag

Change specific properties of a feature flag.

patch/api/admin/projects/{projectId}/features/{featureName}

Path parameters

projectIdstring required
featureNamestring required

Request body

pathstring required

The path to the property to operate on

op'add' | 'remove' | 'replace' | 'copy' | 'move' | 'test' required

The kind of operation to perform

fromstring

The target to move or copy from, if performing one of those operations

valuestring

The value to add or replace, if performing one of those operations

Example request

[
  {
    "path": "/type",
    "op": "replace",
    "from": "/type",
    "value": "kill-switch"
  }
]

Response

featureSchema

namestring required

Unique feature name

typestring

Type of the flag e.g. experiment, kill-switch, release, operational, permission

descriptionstring nullable

Detailed description of the feature

archivedboolean

true if the feature is archived

projectstring

Name of the project the feature belongs to

enabledboolean

true if the feature is enabled, otherwise false.

staleboolean

true if the feature is stale based on the age and feature type, otherwise false.

favoriteboolean

true if the feature was favorited, otherwise false.

impressionDataboolean

true if the impression data collection is enabled for the feature, otherwise false.

createdAtstring date-time nullable

The date the feature was created

archivedAtstring date-time nullable

The date the feature was archived

childrenstring[]

The list of child feature names. This is an experimental field and may change.