curl --request PATCH \
--url https://api.embedreach.com/api/segments/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"conditions": [
{
"field": "userId",
"value": [
"<string>"
],
"operator": "equals",
"type": "property"
}
],
"conditionGroups": [
{
"logic": "and",
"conditions": [
{
"field": "userId",
"value": [
"<string>"
],
"operator": "equals",
"type": "property"
}
],
"type": "group"
}
]
}
'