PUT
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
segments
/
{segmentKey}
/
constraints
/
{id}
curl --request PUT \
  --url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints/{id} \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "operator": "<operator>",
  "property": "<property>",
  "type": "<type>"
}'
curl --request PUT \
  --url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints/{id} \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "operator": "<operator>",
  "property": "<property>",
  "type": "<type>"
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

namespaceKey
string
required
segmentKey
string
required
id
string
required

Body

application/json