Update Flight Segment Targeting Rule

{ "FlightId": { "type": "int32", "required": true, "description": "The flight the targeting rule applies to" }, "SegmentTargetingId": { "type": "int32", "required": true, "description": "Id of the Flight Segment targeting rule" }, "IsExclude": { "type": "boolean", "default": false, "description": "Whether targeting is to be excluded or included." }, "200": { "type": "object", "properties": { "Id": { "type": "integer", "default": 0 }, "FlightId": { "type": "integer", "default": 0 }, "SegmentId": { "type": "integer", "default": 0 }, "IsExclude": { "type": "boolean", "default": false }, "Segment": { "type": "object", "properties": { "Source": { "type": "string" }, "Name": { "type": "string" }, "Reach": { "type": "object", "properties": { "all_time": { "type": "integer" }, "28d": { "type": "integer" } } }, "Description": { "type": "string" }, "Category": { "type": "string" } } } } }, "400": { "type": "integer" }, "curl": "curl -X PUT -H "X-Adzerk-ApiKey:" -H "Content-Type:application/json" https://api.kevel.co/v1/flight/{FlightId}/segmenttargeting/{Id} --data-binary '{"IsExclude":true}'", "example": { "Id": 56789, "FlightId": 55555, "SegmentId": 123456, "IsExclude": true, "Segment": { "Source": "audience", "Name": "best customers", "Reach": { "all_time": 3187463, "28d": 387434 }, "Description": "top 1% spenders in the last 30 days.", "Category": "CRM" } } }