curl --request PUT \
--url https://api.pelanor.io/v2/dimensions/{dimensionId}/segments/{segmentId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"rules": {
"filterGroups": [
{
"operator": "OR",
"filters": [
{
"propertyId": "<string>",
"values": [
"<string>"
],
"operator": "EQUALS"
}
],
"children": "<array>",
"constraint": "USES"
}
]
}
}
'