Update Segment Keys In Environment
Bulk upload a list of identifiers via JSON to a segment. The segment must exist before calling this endpoint. Segments are limited to 100,000 members and each call can only include 10,000 new members at a time.
Parameters
Parameter | Description |
---|---|
Comment | A comment to add to the update action. |
Environment | The id of the environment in which the segment to update exists. |
Identifiers | A comma-separated list of identifiers to update/add to segment. |
Replace | Check to replace the content of the segment (if it previously existed) with the new content. |
Segment Name | The name of the segment you want to upload values to. |
Workspace | The id of the workspace in which the environment resides. |
Example Output
{
"id": "dcaf31f0-ce9b-11e5-b8fa-6ee57757bd75",
"orgId": "9b3df640-9adc-11e5-a8b2-aa398de8870a",
"environment": "9dee9750-9adc-11e5-a8b2-aa398de8870a",
"name": "segment_1",
"trafficTypeId": "u",
"trafficTypeURN": {
"type": "TRAFFIC_TYPE",
"id": "u",
"name": "user"
},
"description": "Created by API",
"creator": {
"type": "System",
"id": "Root",
"name": "split.io"
},
"status": "ACTIVE",
"creationTime": 1454960452239,
"lastUpdateTime": 1454960453619,
"iAmInThisSegment": null
}
Workflow Library Example
Update Segment Keys in Environment with Split and Send Results Via Email
Preview this Workflow on desktop