curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/api/v1/namespaces/default/segments/{segmentKey}/constraints \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"operator": "<operator>",
"property": "<property>",
"type": "<type>"
}'
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}