API ReferenceSegmentsSegmentid
Update a saved segment
x-sendlit-apikey<token>
In: header
Path Parameters
segmentId*string
Request Body
application/json
Body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://api.sendlit.dev/segments/string" \ -H "Content-Type: application/json" \ -d '{}'{
"segmentId": "string",
"name": "string",
"filter": {
"aggregator": "and",
"filters": [
{
"name": "email",
"condition": "is",
"value": "string",
"valueLabel": "string"
}
]
},
"createdAt": "string",
"updatedAt": "string"
}{
"error": "string"
}{
"error": "string"
}