Reach: Segments
Update a profile segment
Rename a segment and/or replace the conditions that define it.
name is always required. Omit conditions to rename without touching the conditions; supply them and they replace the existing set entirely rather than being merged into it. Contacts are never modified, but which of them match the segment can change immediately.
put/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}
Path parameters
profileUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000
Profile uuid parameter
segmentUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000
Segment uuid parameter
Request body
Example request
{
"name": "VIP Customers",
"conditions": [
{
"attribute": "email",
"operator": "equals",
"value": "example@example.com"
}
],
"logic": "AND"
}Response
Success response
Example response
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Segment name",
"created_at": "2025-02-27T11:54:22Z",
"updated_at": "2025-02-27T11:54:22Z"
}