Skip to main content
PATCH
/
feature-states
Write feature states
curl --request PATCH \
  --url http://localhost:4000/api/v1/feature-states \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "feature_name": "<string>",
  "implementation_name": "<string>",
  "product_name": "<string>",
  "states": {}
}
'
{
  "data": {
    "feature_name": "<string>",
    "implementation_id": "<string>",
    "implementation_name": "<string>",
    "product_name": "<string>",
    "states_written": 123,
    "warnings": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Feature states request body

feature_name
string
required
implementation_name
string
required
product_name
string
required
states
object
required

Response

Feature states written

data
FeatureStatesResponseData · object
required