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>"
}'
{
"id": "<string>",
"segmentKey": "<string>",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"namespaceKey": "<string>",
"description": "<string>"
}Constraints
Update Constraint
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>"
}'
{
"id": "<string>",
"segmentKey": "<string>",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"namespaceKey": "<string>",
"description": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.flipt.io/llms.txt
Use this file to discover all available pages before exploring further.
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
UNKNOWN_COMPARISON_TYPE, STRING_COMPARISON_TYPE, NUMBER_COMPARISON_TYPE, BOOLEAN_COMPARISON_TYPE, DATETIME_COMPARISON_TYPE, ENTITY_ID_COMPARISON_TYPE Response
200 - application/json
OK
Available options:
UNKNOWN_COMPARISON_TYPE, STRING_COMPARISON_TYPE, NUMBER_COMPARISON_TYPE, BOOLEAN_COMPARISON_TYPE, DATETIME_COMPARISON_TYPE, ENTITY_ID_COMPARISON_TYPE Was this page helpful?
⌘I