Skip to main content

Enable Segment In Environment

Activate a Segment in an environment to be able to set its definitions.

Parameters

ParameterDescription
EnvironmentThe id of the environment in which to activate this segment.
Segment NameThe name of the segment to activate.
WorkspaceThe id of the workspace in which the environment resides.

Example Output

{
"name": "friendly_customers_2",
"environment": {
"id": "...",
"name": "Development"
},
"trafficType": {
"id": "...",
"name": "user"
},
"creationTime": 1577737036448
}

Workflow Library Example

Enable Segment in Environment with Split and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop